Profile

class safir.logging.Profile(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Logging profile for the application.

Attributes Summary

development

Log messages in a format intended for human readability.

production

Log messages in JSON.

Attributes Documentation

development = 'development'

Log messages in a format intended for human readability.

production = 'production'

Log messages in JSON.