MCPcopy Create free account
hub / github.com/hynek/structlog / ColumnStyles

Class ColumnStyles

src/structlog/dev.py:152–178  ·  view source on GitHub ↗

Column styles settings for console rendering. These are console ANSI codes that are printed before the respective fields. This allows for a certain amount of customization if you don't want to configure your columns. .. versionadded:: 25.5.0 It was handled by private st

Source from the content-addressed store, hash-verified

150
151@dataclass(frozen=True)
152class ColumnStyles:
153 """
154 Column styles settings for console rendering.
155
156 These are console ANSI codes that are printed before the respective fields.
157 This allows for a certain amount of customization if you don't want to
158 configure your columns.
159
160 .. versionadded:: 25.5.0
161 It was handled by private structures before.
162 """
163
164 reset: str
165 bright: str
166
167 level_critical: str
168 level_exception: str
169 level_error: str
170 level_warn: str
171 level_info: str
172 level_debug: str
173 level_notset: str
174
175 timestamp: str
176 logger_name: str
177 kv_key: str
178 kv_value: str
179
180
181_colorful_styles = ColumnStyles(

Callers 1

dev.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…