Pārlūkot izejas kodu

Clarify UTC timestamp text

pull/359/merge
Mark Allen pirms 8 gadiem
vecāks
revīzija
fbfb7d6140
1 mainītis faili ar 9 papildinājumiem un 3 dzēšanām
  1. +9
    -3
      README.md

+ 9
- 3
README.md Parādīt failu

@ -238,13 +238,19 @@ Examples:
```
Universal time
-----------------
Lager reads the `sasl` application's configuration, if `utc_log` is set to `true`, the times will be displayed in UTC format.
--------------
By default, lager formats timestamps as local time for whatever computer
generated the log message.
To make lager use UTC timestamps, you can set the `sasl` application's
`utc_log` configuration parameter to `true` in your application configuration
file.
Example:
```
application:set_env(sasl, utc_log, true).
%% format log timestamps as UTC
[{sasl, [{utc_log, true}]}].
```
Error logger integration

Notiek ielāde…
Atcelt
Saglabāt