Skip to content

Commit ad35fde

Browse files
committed
Update version to 2.0.3, fix return type in logging method, and update CHANGELOG.md
1 parent bb5a24b commit ad35fde

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.0.3
2+
- Fix: static log pass analitics return type <void> instead of <dynamic>.
3+
14
## 2.0.2
25
- Fix: The `Console` class was not properly exporting the `enableColors` and `showTimestamp` properties. Now, these properties are correctly defined as static variables, allowing users to control the output formatting as intended.
36

lib/src/console_tools_base.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Console {
6969
/// - [name] — tag label shown in brackets (defaults to `'logger'`).
7070
/// - [time], [sequenceNumber], [level], [zone], [error], [stackTrace]
7171
/// unused; kept for `dart:developer` compatibility.
72-
static log(
72+
static void log(
7373
Object? text, {
7474
String name = 'logger',
7575
DateTime? time,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: console_tools
22
description: A console logger class, with custom colors and text styles already defined.
3-
version: 2.0.2
3+
version: 2.0.3
44
homepage: https://github.com/ymrabti/console_tools.git
55

66
environment:

0 commit comments

Comments
 (0)