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
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,6 @@
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
-
6
-
## Features
3
+
## ✨ Features
7
4
8
5
-**Categorized Logging:** Pre-defined methods like `Log.info`, `Log.err`, `Log.ok` for semantic logging.
9
6
-**Beautifully Styled Output:** Uses ANSI colors and emojis for clear, readable logs in supported consoles.
@@ -23,9 +20,11 @@ For an introduction, please refer to this article:
23
20
-**GITHUB**[Dart Logging: Your New Best Friend](https://github.com/dev-cetera/df_log/blob/main/ARTICLE.md)
24
21
25
22
26
-
## Usage
23
+
## 📖 Usage
24
+
25
+
<imgsrc="https://raw.githubusercontent.com/dev-cetera/df_log/main/doc/assets/screenshot2.png"alt="Visual Studio Code Terminal"width="600">
27
26
28
-
### 1. Categorized Logs
27
+
### 💡 1. Categorized Logs
29
28
30
29
The package comes with a few default log types that you can use creatively.
31
30
@@ -42,7 +41,7 @@ void main() {
42
41
}
43
42
```
44
43
45
-
### 2. Colored Logs
44
+
### 💡 2. Colored Logs
46
45
47
46
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.
48
47
@@ -58,7 +57,7 @@ Log.printWhite('This is printed in WHITE!');
58
57
// and many more...
59
58
```
60
59
61
-
### 3. Tags
60
+
### 💡 3. Tags
62
61
63
62
Using tags with logs simplifies debugging and organization. Tags allow you to filter logs by including or excluding specific categories, making it easier to focus on relevant information. They can also help categorize data for analytics or other purposes.
64
63
@@ -85,7 +84,7 @@ void main() {
85
84
}
86
85
```
87
86
88
-
### 3. Configuration
87
+
### 💡 3. Configuration
89
88
90
89
You can customize the logging behavior to suit your needs, including styling, output format, and storage options. The Log class provides various settings to control how logs are displayed and managed.
0 commit comments