()
Initialize clog from staticconf config.
Initialize clog from staticconf config.
Initialize clog from staticconf config .
def initialize():
    """Initialize clog from staticconf config."""
    if enable_uwsgi_mule_offload and clog.uwsgi_plugin_enabled:
        clog.uwsgi_patch_global_state()

    add_clog_handler(
        name=log_stream_name.value, level=getattr(logging, log_stream_level.value), log_format=log_stream_format.value,
    )
def initialize ( ) : if enable_uwsgi_mule_offload and clog . uwsgi_plugin_enabled : clog . uwsgi_patch_global_state ( ) add_clog_handler ( name = log_stream_name . value , level = getattr ( logging , log_stream_level . value ) , log_format = log_stream_format . value , )