to_dict#

LoggingConfig.to_dict() → Dict[str, object][source]#

Serialize to a plain dict suitable for JSON transport.

Returns:

A dict that maps each field name to its value.

Return type:

Dict[str, object]