D
Deno
S
Deno
β’
3y ago
β’
12 replies
sergees
Choose level for std logger
I have some loggers configured using the
setup
setup
function from
std/log
std/log
. This way levels are hard
-coded
. I would like to be able to pass a
--debug
--debug
option to my script to activate the DEBUG level
, otherwise use INFO and above
.
Is it possible to achieve this using std
/log
? If not
, what are other libs you can recommend instead
?
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Stubbing @std/x
T
thoroc / help
13mo ago
@std/expect `anyOf` equivalent?
G
Giraffe / help
17mo ago
Feature Suggestion: Dark Mode for `std` library Docs.
B
Bairdy / help
4y ago