Skip to content

Commit 9706885

Browse files
committed
Updated README to reflect v2.0.0 log signature
1 parent 5aa82a5 commit 9706885

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ logger.i("Info log");
4949
5050
logger.w("Warning log");
5151
52-
logger.e("Error log");
52+
logger.e("Error log", error: 'Test Error');
5353
54-
logger.f("What a fatal log");
54+
logger.f("What a fatal log", error: error, stackTrace: stackTrace);
5555
```
5656

5757
To show only specific log levels, you can set:

0 commit comments

Comments
 (0)