Skip to content

Commit 7b64cc9

Browse files
committed
Update README
1 parent 83b7f8e commit 7b64cc9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const log = require('monk-log')
5353
log.warn('You can have nice log messages in just one line!')
5454

5555
// Outputs
56-
// [2019-02-18T01:10:49.933] WARN [root]: You can have nice log messages in just one line!
56+
// [2019-02-18T01:10:49.933+01:00] WARN [root]: You can have nice log messages in just one line!
5757
```
5858

5959
### Child loggers with custom format
@@ -73,8 +73,8 @@ childLogger.error('this is an error message')
7373

7474
// Outputs
7575
// [2019-02-18T01:08:46.260] INFO [root]: Child logger has been set up
76-
// When: 2019-02-18T01:08:46.262, who: CHILD, why: DEBUG, what: this is a debug message
77-
// When: 2019-02-18T01:08:46.262, who: CHILD, why: INFO, what: This is a info message
78-
// When: 2019-02-18T01:08:46.262, who: CHILD, why: WARN, what: this is a warning message
79-
// When: 2019-02-18T01:08:46.263, who: CHILD, why: ERROR, what: this is an error message
76+
// When: 2019-02-18T01:08:46.262+01:00, who: CHILD, why: DEBUG, what: this is a debug message
77+
// When: 2019-02-18T01:08:46.262+01:00, who: CHILD, why: INFO, what: This is a info message
78+
// When: 2019-02-18T01:08:46.262+01:00, who: CHILD, why: WARN, what: this is a warning message
79+
// When: 2019-02-18T01:08:46.263+01:00, who: CHILD, why: ERROR, what: this is an error message
8080
```

0 commit comments

Comments
 (0)