Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Commit d5c850e

Browse files
committed
chore: add comment log file example
1 parent 72ac0ae commit d5c850e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ logger.write(
3838
["Log entry part 1", "another log entry part 2", "etc..."],
3939
() => console.log("callback when current log entry was finished!")
4040
)
41+
42+
// Log file content: `app-2019-09-17.log`
43+
// 2019-10-17T07:47:35.096Z | 1571298455096 | Log entry part 1 | another log entry part 2 | etc...
4144
```
4245

4346
An example file is located at [sample/sample.ts](./sample/sample.ts)

0 commit comments

Comments
 (0)