local
env_vars()
¶
Obtain basic environment variables in a local environment.
Returns:
Type | Description |
---|---|
OneOf[Issue, EnvVars]
|
An |
Source code in m/log/ci_tools/providers/local.py
log_format(formatter, record, show_traceback, debug_python)
¶
Format a log record using the functions provided in this module.
This function is meant to be used by a log formatter. See more info
Parameters:
Name | Type | Description | Default |
---|---|---|---|
formatter |
Formatter
|
A log formatter instance. |
required |
record |
LogRecord
|
A log record. |
required |
show_traceback |
bool
|
If true, display the python stack trace. |
required |
debug_python |
bool
|
If true, display the location of the record's origin. |
required |
Returns:
Type | Description |
---|---|
str
|
A formatted string. |