asMap method

Map<String, String> asMap()

Returns an immutable snapshot of all stored log properties.

The returned map is unmodifiable and reflects the current state of global logging configuration.

Example:

final allProps = LogProperties.instance.asMap();
print(allProps);

Implementation

Map<String, String> asMap() => Map.unmodifiable(_props);