mirror of
https://github.com/lensapp/lens.git
synced 2024-11-24 11:15:16 +03:00
Add timestamps to the logger messages
Signed-off-by: gitstart <bot@gitstart.com> Co-authored-by: LuisChiej <54555805+LuisChiej@users.noreply.github.com>
This commit is contained in:
parent
452042f5c5
commit
f1a960fd78
@ -10,7 +10,7 @@ export const winstonLoggerInjectable = getInjectable({
|
||||
id: "winston-logger",
|
||||
instantiate: (di) =>
|
||||
createLogger({
|
||||
format: format.combine(format.splat(), format.simple()),
|
||||
format: format.combine(format.splat(), format.simple(), format.timestamp({ format: 'DD/MM/YYYY HH:mm:ss' })),
|
||||
transports: di.injectMany(loggerTransportInjectionToken),
|
||||
}),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user