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
Under this issue, I want to fix the inconsistent and incorrect (@neodx/log/http doesn't disable colors in production) default behavior of "colors" and simplify its management from the outside.
Where are colors being used now?
@neodx/log/node
pretty target and default behavior
printPrettyError submodule (extends from pretty)
@neodx/log/http
Expectations:
Everything should follow the same default rule - colors are disabled in production.
Simplify the colors parameter to accept values of 'auto', boolean, or Colors.
Good to try:
Enhance the createLogger API in @neodx/log/node to be more high-level, forward the colors parameter to global settings.
The text was updated successfully, but these errors were encountered:
Under this issue, I want to fix the inconsistent and incorrect (
@neodx/log/http
doesn't disable colors in production) default behavior of "colors" and simplify its management from the outside.Where are colors being used now?
@neodx/log/node
pretty
target and default behaviorprintPrettyError
submodule (extends frompretty
)@neodx/log/http
Expectations:
Good to try:
createLogger
API in @neodx/log/node
to be more high-level, forward the colors
parameter to global settings.The text was updated successfully, but these errors were encountered: