Skip to content

Commit 7499f6f

Browse files
committed
Fixed and improved CHANGELOG
1 parent 01985c1 commit 7499f6f

File tree

1 file changed

+79
-81
lines changed

1 file changed

+79
-81
lines changed

CHANGELOG.md

Lines changed: 79 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,201 +1,199 @@
11
## 2.5.0
22

3-
- AdvancedFileOutput: Added support for custom `fileUpdateDuration`. Thanks to
3+
* AdvancedFileOutput: Added support for custom `fileUpdateDuration`. Thanks to
44
@shlowdy ([#86](https://github.com/SourceHorizon/logger/pull/86)).
5-
- README: Fixed outdated LogOutput documentation.
5+
* README: Fixed outdated LogOutput documentation.
66

77
## 2.4.0
88

9-
- Added pub.dev `topics`. Thanks to
9+
* Added pub.dev `topics`. Thanks to
1010
@jonasfj ([#74](https://github.com/SourceHorizon/logger/pull/74)).
11-
- PrettyPrinter: Added `dateTimeFormat` option (backwards-compatible with `printTime`).
11+
* PrettyPrinter: Added `dateTimeFormat` option (backwards-compatible with `printTime`).
1212
Fixes [#80](https://github.com/SourceHorizon/logger/issues/80).
1313

1414
## 2.3.0
1515

16-
- AdvancedFileOutput: Added file deletion option. Thanks to
16+
* AdvancedFileOutput: Added file deletion option. Thanks to
1717
@lomby92 ([#71](https://github.com/SourceHorizon/logger/pull/71)).
1818

1919
## 2.2.0
2020

21-
- Added AdvancedFileOutput. Thanks to
21+
* Added AdvancedFileOutput. Thanks to
2222
@pyciko ([#65](https://github.com/SourceHorizon/logger/pull/65)).
23-
- Added missing acknowledgments in README.
23+
* Added missing acknowledgments in README.
2424

2525
## 2.1.0
2626

27-
- Improved README explanation about debug mode. Thanks to
27+
* Improved README explanation about debug mode. Thanks to
2828
@gkuga ([#57](https://github.com/SourceHorizon/logger/pull/57)).
29-
- Added web safe export. Fixes [#58](https://github.com/SourceHorizon/logger/issues/58).
30-
- Added `logger.init` to optionally await any `async` `init()` methods.
29+
* Added web safe export. Fixes [#58](https://github.com/SourceHorizon/logger/issues/58).
30+
* Added `logger.init` to optionally await any `async` `init()` methods.
3131
Fixes [#61](https://github.com/SourceHorizon/logger/issues/61).
3232

3333
## 2.0.2+1
3434

35-
- Meta update: Updated repository links to https://github.com/SourceHorizon/logger.
35+
* Meta update: Updated repository links to https://github.com/SourceHorizon/logger.
3636

3737
## 2.0.2
3838

39-
- Moved the default log level assignment to prevent weird lazy initialization bugs.
39+
* Moved the default log level assignment to prevent weird lazy initialization bugs.
4040
Mitigates [#38](https://github.com/SourceHorizon/logger/issues/38).
4141

4242
## 2.0.1
4343

44-
- Updated README to reflect v2.0.0 log signature change.
44+
* Updated README to reflect v2.0.0 log signature change.
4545

4646
## 2.0.0
4747

48-
- Fixed supported platforms list.
49-
- Removed reference to outdated `logger_flutter` project.
48+
* Fixed supported platforms list.
49+
* Removed reference to outdated `logger_flutter` project.
5050
Thanks to @yangsfang ([#32](https://github.com/SourceHorizon/logger/pull/32)).
51-
- Added override capability for logger defaults.
51+
* Added override capability for logger defaults.
5252
Thanks to @yangsfang ([#34](https://github.com/SourceHorizon/logger/pull/34)).
53-
- `Level.verbose`, `Level.wtf` and `Level.nothing` have been deprecated and are replaced
53+
* `Level.verbose`, `Level.wtf` and `Level.nothing` have been deprecated and are replaced
5454
by `Level.trace`, `Level.fatal` and `Level.off`.
5555
Additionally `Level.all` has been added.
56-
- PrettyPrinter: Added `levelColors` and `levelEmojis` as constructor parameter.
56+
* PrettyPrinter: Added `levelColors` and `levelEmojis` as constructor parameter.
5757

5858
### Breaking changes
5959

60-
- `log` signature has been changed to closer match dart's developer `log` function and allow for
61-
future
62-
optional parameters.
60+
* `log` signature has been changed to closer match dart's developer `log` function and allow for
61+
future optional parameters.
6362

6463
Additionally, `time` has been added as an optional named parameter to support providing custom
6564
timestamps for LogEvents instead of `DateTime.now()`.
6665

6766
#### Migration:
68-
- Before:
67+
* Before:
6968
```dart
7069
logger.e("An error occurred!", error, stackTrace);
7170
```
72-
- After:
71+
* After:
7372
```dart
7473
logger.e("An error occurred!", error: error, stackTrace: stackTrace);
7574
```
76-
- `init` and `close` methods of `LogFilter`, `LogOutput` and `LogPrinter` are now async along
77-
with `Logger.close()`.
78-
(Fixes FileOutput)
79-
- LogListeners are now called on every LogEvent independent of the filter.
80-
- PrettyPrinter: `includeBox` is now private.
81-
- PrettyPrinter: `errorMethodCount` is now only considered if an error has been provided.
75+
* `init` and `close` methods of `LogFilter`, `LogOutput` and `LogPrinter` are now async along
76+
with `Logger.close()`. (Fixes FileOutput)
77+
* LogListeners are now called on every LogEvent independent of the filter.
78+
* PrettyPrinter: `includeBox` is now private.
79+
* PrettyPrinter: `errorMethodCount` is now only considered if an error has been provided.
8280
Otherwise `methodCount` is used.
83-
- PrettyPrinter: Static `levelColors` and `levelEmojis` have been renamed to `defaultLevelColors`
81+
* PrettyPrinter: Static `levelColors` and `levelEmojis` have been renamed to `defaultLevelColors`
8482
and `defaultLevelEmojis` and are used as fallback for their respective constructor parameters.
85-
- Levels are now sorted by their respective value instead of the enum index (Order didn't change).
83+
* Levels are now sorted by their respective value instead of the enum index (Order didn't change).
8684
8785
## 1.4.0
8886
89-
- Bumped upper SDK constraint to `<4.0.0`.
90-
- Added `excludePaths` to PrettyPrinter.
91-
Thanks to @Stitch-Taotao ([#13](https://github.com/simc/logger/pull/13)).
92-
- Removed background color for `Level.error` and `Level.wtf` to improve readability.
93-
- Improved PrettyPrinter documentation.
94-
- Corrected README notice about ANSI colors.
87+
* Bumped upper SDK constraint to `<4.0.0`.
88+
* Added `excludePaths` to PrettyPrinter. Thanks to
89+
@Stitch-Taotao ([#13](https://github.com/SourceHorizon/logger/pull/13)).
90+
* Removed background color for `Level.error` and `Level.wtf` to improve readability.
91+
* Improved PrettyPrinter documentation.
92+
* Corrected README notice about ANSI colors.
9593
9694
## 1.3.0
9795
98-
- Fixed stackTrace count when using `stackTraceBeginIndex`.
96+
* Fixed stackTrace count when using `stackTraceBeginIndex`.
9997
Addresses [#114](https://github.com/simc/logger/issues/114).
100-
- Added proper FileOutput stub. Addresses [#94](https://github.com/simc/logger/issues/94).
101-
- Added `isClosed`. Addresses [#130](https://github.com/simc/logger/issues/130).
102-
- Added `time` to LogEvent.
103-
- Added `error` handling to LogfmtPrinter.
98+
* Added proper FileOutput stub. Addresses [#94](https://github.com/simc/logger/issues/94).
99+
* Added `isClosed`. Addresses [#130](https://github.com/simc/logger/issues/130).
100+
* Added `time` to LogEvent.
101+
* Added `error` handling to LogfmtPrinter.
104102
105103
## 1.2.2
106104
107-
- Fixed conditional LogOutput export. Credits to
105+
* Fixed conditional LogOutput export. Credits to
108106
@ChristopheOosterlynck [#4](https://github.com/SourceHorizon/logger/pull/4).
109107
110108
## 1.2.1
111109
112-
- Reverted `${this}` interpolation and added linter
110+
* Reverted `${this}` interpolation and added linter
113111
ignore. [#1](https://github.com/SourceHorizon/logger/issues/1)
114112
115113
## 1.2.0
116114
117-
- Added origin LogEvent to OutputEvent. Addresses [#133](https://github.com/simc/logger/pull/133).
118-
- Re-added LogListener and OutputListener (Should restore compatibility with logger_flutter).
119-
- Replaced pedantic with lints.
115+
* Added origin LogEvent to OutputEvent. Addresses [#133](https://github.com/simc/logger/pull/133).
116+
* Re-added LogListener and OutputListener (Should restore compatibility with logger_flutter).
117+
* Replaced pedantic with lints.
120118
121119
## 1.1.0
122120
123-
- Enhance boxing control with PrettyPrinter. Credits to @timmaffett
124-
- Add trailing new line to FileOutput. Credits to @narumishi
125-
- Add functions as a log message. Credits to @smotastic
121+
* Enhance boxing control with PrettyPrinter. Credits to @timmaffett
122+
* Add trailing new line to FileOutput. Credits to @narumishi
123+
* Add functions as a log message. Credits to @smotastic
126124
127125
## 1.0.0
128126
129-
- Stable nullsafety
127+
* Stable nullsafety
130128
131129
## 1.0.0-nullsafety.0
132130
133-
- Convert to nullsafety. Credits to @DevNico
131+
* Convert to nullsafety. Credits to @DevNico
134132
135133
## 0.9.4
136134
137-
- Remove broken platform detection.
135+
* Remove broken platform detection.
138136
139137
## 0.9.3
140138
141-
- Add `MultiOutput`. Credits to @gmpassos.
142-
- Handle browser Dart stacktraces in PrettyPrinter. Credits to @gmpassos.
143-
- Add platform detection. Credits to @gmpassos.
144-
- Catch output exceptions. Credits to @gmpassos.
145-
- Several documentation fixes. Credits to @gmpassos.
139+
* Add `MultiOutput`. Credits to @gmpassos.
140+
* Handle browser Dart stacktraces in PrettyPrinter. Credits to @gmpassos.
141+
* Add platform detection. Credits to @gmpassos.
142+
* Catch output exceptions. Credits to @gmpassos.
143+
* Several documentation fixes. Credits to @gmpassos.
146144
147145
## 0.9.2
148146
149-
- Add `PrefixPrinter`. Credits to @tkutcher.
150-
- Add `HybridPrinter`. Credits to @tkutcher.
147+
* Add `PrefixPrinter`. Credits to @tkutcher.
148+
* Add `HybridPrinter`. Credits to @tkutcher.
151149
152150
## 0.9.1
153151
154-
- Fix logging output for Flutter Web. Credits to @nateshmbhat and @Cocotus.
152+
* Fix logging output for Flutter Web. Credits to @nateshmbhat and @Cocotus.
155153
156154
## 0.9.0
157155
158-
- Remove `OutputCallback` and `LogCallback`
159-
- Rename `SimplePrinter`s argument `useColor` to `colors`
160-
- Rename `DebugFilter` to `DevelopmentFilter`
156+
* Remove `OutputCallback` and `LogCallback`
157+
* Rename `SimplePrinter`s argument `useColor` to `colors`
158+
* Rename `DebugFilter` to `DevelopmentFilter`
161159
162160
## 0.8.3
163161
164-
- Add LogfmtPrinter
165-
- Add colored output to SimplePrinter
162+
* Add LogfmtPrinter
163+
* Add colored output to SimplePrinter
166164
167165
## 0.8.2
168166
169-
- Add StreamOutput
167+
* Add StreamOutput
170168
171169
## 0.8.1
172170
173-
- Deprecate callbacks
171+
* Deprecate callbacks
174172
175173
## 0.8.0
176174
177-
- Fix SimplePrinter showTime #12
178-
- Remove buffer field
179-
- Update library structure (thanks @marcgraub!)
175+
* Fix SimplePrinter showTime #12
176+
* Remove buffer field
177+
* Update library structure (thanks @marcgraub!)
180178
181179
## 0.7.0+1
182180
183-
- Added `ProductionFilter`, `FileOutput`, `MemoryOutput`, `SimplePrinter`
184-
- Breaking: Changed `LogFilter`, `LogPrinter` and `LogOutput`
181+
* Added `ProductionFilter`, `FileOutput`, `MemoryOutput`, `SimplePrinter`
182+
* Breaking: Changed `LogFilter`, `LogPrinter` and `LogOutput`
185183
186184
## 0.6.0
187185
188-
- Added option to output timestamp
189-
- Added option to disable color
190-
- Added `LogOutput`
191-
- Behaviour change of `LogPrinter`
192-
- Remove dependency
186+
* Added option to output timestamp
187+
* Added option to disable color
188+
* Added `LogOutput`
189+
* Behaviour change of `LogPrinter`
190+
* Remove dependency
193191
194192
## 0.5.0
195193
196-
- Added emojis
197-
- `LogFilter` is a class now
194+
* Added emojis
195+
* `LogFilter` is a class now
198196
199197
## 0.4.0
200198
201-
- First version of the new logger
199+
* First version of the new logger

0 commit comments

Comments
 (0)