THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class _ApplicationFormatter(logging.Formatter): (source)
Format record creation times in the application's timezone.
The formatter reads the active zone for each record so cached instances follow configuration changes.
| Method | format |
Format a log record's timestamp in the active application timezone. |
Format a log record's timestamp in the active application timezone.
| Parameters | |
record:logging.LogRecord | Record whose creation timestamp supplies the instant. |
datefmt:str or None, optional | Explicit strftime pattern, or None for the standard logging format. |
| Returns | |
str | Formatted local timestamp, including milliseconds when configured. |