Skip to main content

Console Logging

Console Logging

Active

Control which records reach the terminal and how Rich presents them.

Command[tool.custy.logging]

Category

Logging Configuration

Quick Command

[tool.custy.logging]

log levelRich markuptracebacks

Properties​

Properties

PropertyTypeDescriptionDefaultRequired
levelDEBUG | INFO | WARNING | ERROR | CRITICALConsole threshold used when no explicit global log level or debug mode overrides it.INFONo
markupBooleanAllow Rich markup tags in console messages.trueNo
rich_tracebacksBooleanRender enhanced exception tracebacks with Rich.trueNo
show_timeBooleanShow a timestamp column in console records.falseNo
show_levelBooleanShow the log-level column. Runtime debug mode enables it.falseNo
console_formatLogging formatPython logging format applied before Rich presentation.%(message)sNo
Generated console logging
toml
[tool.custy.logging]
level = "INFO"
markup = true
rich_tracebacks = true
show_time = false
show_level = false
console_format = "%(message)s"

Continue