You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _README_CONTENT.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
`df_log` is a massive upgrade from `print()`. It makes your console output beautiful, readable, and powerful, turning your logs into a central event bus for debugging, analytics, and crash reporting. It’s for the developer who wants the simplicity of `print()` but with more clarity, context, and control.
2
2
3
+
4
+
<imgsrc="https://raw.githubusercontent.com/dev-cetera/df_log/main/doc/assets/screenshot2.png"alt="Visual Studio Code Terminal"width="600">
5
+
3
6
## Features
4
7
5
8
-**Categorized Logging:** Pre-defined methods like `Log.info`, `Log.err`, `Log.ok` for semantic logging.
@@ -11,10 +14,6 @@
11
14
-**IDE Integration:** Optionally uses `dart:developer`'s `log` function for a richer experience in some IDEs.
12
15
-**Extensible:** Add custom callbacks to integrate with other services (e.g., crash reporting).
Log.alert('Network connection is slow. Retrying in 5s.');
39
+
Log.ok('User session found and validated.');
40
+
Log.err('Failed to load user preferences!');
42
41
Log.stop('Application shutting down.');
43
42
}
44
43
```
@@ -48,15 +47,15 @@ void main() {
48
47
Colored logs enhance readability and help you quickly identify different types of messages in the console. By applying distinct colors, you can easily track errors, successes, warnings, and other log types at a glance.
49
48
50
49
```dart
51
-
// If the Log class conflicts with another class, use an alias with as.
0 commit comments