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
#970 added a backwards compatible logger with log levels to the CU. All previous logs are being made via backwards compatible apis, and are defaulted to the info level.
Problem
Not all logs are info logs, and the new logger has more apis to specify the log level. We need to go through all log statements and decide which level each of them are at and add that level appropriately.
Developer Notes
The new logger can be found here and has the following apis:
logger() (just call it as a function -- logs at info level
logger.error|warn|info|http|verbose|debug|silly()
logger.tap (just call it as a function -- logs at info level. Great for passively logging data flow as part of an Async chain ie. `.map(logger.tap(....))
Background
#970 added a backwards compatible logger with log levels to the CU. All previous logs are being made via backwards compatible apis, and are defaulted to the
info
level.Problem
Not all logs are
info
logs, and the new logger has more apis to specify the log level. We need to go through all log statements and decide which level each of them are at and add that level appropriately.Developer Notes
The new logger can be found here and has the following apis:
logger()
(just call it as a function -- logs atinfo
levellogger.error|warn|info|http|verbose|debug|silly()
logger.tap
(just call it as a function -- logs atinfo
level. Great for passively logging data flow as part of anAsync
chain ie. `.map(logger.tap(....))logger.tapError|tapWarn|tapInfo|tapHttp|tapVerbose|tapDebug|tapSilly()
The text was updated successfully, but these errors were encountered: