Skip to content

Commit 36e6589

Browse files
ci: bump version to v0.3.30
1 parent 9c92fc2 commit 36e6589

4 files changed

Lines changed: 22 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.3.30]
4+
5+
- Released @ 12/2025 (UTC)
6+
- Minor tweaks
7+
38
## [0.3.29]
49

510
- Released @ 12/2025 (UTC)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![banner](https://github.com/dev-cetera/df_log/blob/v0.3.29/doc/assets/banner.png?raw=true)](https://github.com/dev-cetera)
1+
[![banner](https://github.com/dev-cetera/df_log/blob/v0.3.30/doc/assets/banner.png?raw=true)](https://github.com/dev-cetera)
22

33
[![pub](https://img.shields.io/pub/v/df_log.svg)](https://pub.dev/packages/df_log)
4-
[![tag](https://img.shields.io/badge/Tag-v0.3.29-purple?logo=github)](https://github.com/dev-cetera/df_log/tree/v0.3.29)
4+
[![tag](https://img.shields.io/badge/Tag-v0.3.30-purple?logo=github)](https://github.com/dev-cetera/df_log/tree/v0.3.30)
55
[![buymeacoffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/dev_cetera)
66
[![sponsor](https://img.shields.io/badge/Sponsor-grey?logo=github-sponsors&logoColor=pink)](https://github.com/sponsors/dev-cetera)
77
[![patreon](https://img.shields.io/badge/Patreon-grey?logo=patreon)](https://www.patreon.com/t0mb3rr)

lib/src/_src.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
export './ansi_styled_string.dart';
1313
export './log.dart';
14-
export './log_item.dart';
14+
export './log_item.dart';

lib/src/log_item.dart

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ final class LogItem {
5555
required this.showTags,
5656
required this.showTimestamp,
5757
required this.frame,
58-
}) : id = const Uuid().v4(),
59-
timestamp = DateTime.now(),
60-
internalIndex = _internalCount++;
58+
}) : id = const Uuid().v4(),
59+
timestamp = DateTime.now(),
60+
internalIndex = _internalCount++;
6161

6262
//
6363
//
@@ -110,10 +110,12 @@ final class LogItem {
110110
final hasLocation = location1 != null && location1.isNotEmpty;
111111

112112
if (hasLocation) {
113-
final bracketStyle =
114-
nonMessageStyle != null ? AnsiStyle.bold + nonMessageStyle : null;
115-
final pathTextStyle =
116-
nonMessageStyle != null ? AnsiStyle.italic + nonMessageStyle : null;
113+
final bracketStyle = nonMessageStyle != null
114+
? AnsiStyle.bold + nonMessageStyle
115+
: null;
116+
final pathTextStyle = nonMessageStyle != null
117+
? AnsiStyle.italic + nonMessageStyle
118+
: null;
117119
if (icon != null) {
118120
buffer.write('$icon ');
119121
}
@@ -130,8 +132,8 @@ final class LogItem {
130132

131133
if (message != null) {
132134
final styledMessage = message.toString().trim().withAnsiStyle(
133-
messageStyle,
134-
);
135+
messageStyle,
136+
);
135137
buffer.write(styledMessage);
136138
}
137139

@@ -182,8 +184,9 @@ final class LogItem {
182184

183185
String toJson({bool pretty = true}) {
184186
final map = toMap();
185-
final encoder =
186-
pretty ? const JsonEncoder.withIndent(' ') : const JsonEncoder();
187+
final encoder = pretty
188+
? const JsonEncoder.withIndent(' ')
189+
: const JsonEncoder();
187190
return encoder.convert(map);
188191
}
189192

0 commit comments

Comments
 (0)