logging: Support finer grained logging #1

Open Jookia opened this issue on 24 Aug - 0 comments

@Jookia Jookia commented on 24 Aug

Logging currently specifies a priority and subsystem.

The only way to specify which logging to see is by setting the NEWLANG_LOG_LEVEL environmental variable. You should also be able to specify the subsystem, possibly with per-subsystem priorities.

Something like this:

NEWLANG_LOG_LEVEL=ALL:NORMAL,LEXER:DEBUG

Using less punctuation would be helpful.

@Jookia Jookia add the debug label on 24 Aug
@Jookia Jookia change title from Refactoring logging to logging: Support finer grained logging on 24 Aug
@Jookia Jookia add the duplicate label on 24 Aug
@Jookia Jookia add the logging label on 24 Aug
@Jookia Jookia removed the duplicate label on 24 Aug
Labels

Priority
default
Milestone
No milestone
Assignee
No one
1 participant
@Jookia