You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you choose the winston log provider, it adds a timestamp by default. Add an option in the config to not show the timestamp, and also the ability to turn on/off timestamp after initialization.
Proposed
// init winston logger (timestamp is true by default for backwards compat)constaioLogger=require('@adobe/aio-lib-core-logging')('App',{provider:'winston',timestamp: false})// turn on the timestamp later aioLogger.config.timestamp=true// use a setter
The text was updated successfully, but these errors were encountered:
shazron
changed the title
winston log provider: add ability to not add a timestamp
winston log provider: add ability to modify config for showing/hiding timestamp
Apr 26, 2024
If you choose the
winston
log provider, it adds a timestamp by default. Add an option in the config to not show the timestamp, and also the ability to turn on/off timestamp after initialization.Proposed
The text was updated successfully, but these errors were encountered: