-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently I parse the log level from GO_LOG so users can specify it from environment variable eg as GO_LOG=DEBUG go run
But I want to specify log level per package as we can do with Rust log:
Describe the solution you'd like
Option to set log level for specific modules/packages
RUST_LOG=package_name=DEBUG,other_package=INFO` cargo run # Log level per package
RUST_LOG=DEBUG` cargo run # Global log levelDescribe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I don't know if currently it's even possible to change other loggers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request