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]Propertiesâ
Properties
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
level | DEBUG | INFO | WARNING | ERROR | CRITICAL | Console threshold used when no explicit global log level or debug mode overrides it. | INFO | No |
markup | Boolean | Allow Rich markup tags in console messages. | true | No |
rich_tracebacks | Boolean | Render enhanced exception tracebacks with Rich. | true | No |
show_time | Boolean | Show a timestamp column in console records. | false | No |
show_level | Boolean | Show the log-level column. Runtime debug mode enables it. | false | No |
console_format | Logging format | Python logging format applied before Rich presentation. | %(message)s | No |
Generated console logging
toml[tool.custy.logging]
level = "INFO"
markup = true
rich_tracebacks = true
show_time = false
show_level = false
console_format = "%(message)s"