pi_portal.modules.configuration.state

Borg monostate of the current running configuration.

class pi_portal.modules.configuration.state.State[source]

Monostate of the current running configuration.

load(file_path='config.json')[source]

Load the end user configuration.

Parameters:

file_path (str, default: 'config.json') – The path to the file to load.

Return type:

None

property log_level: int

Return the currently configured logging level.

Returns:

The currently configured logging level.