[][src]Function casperlabs_engine_shared::logging::initialize

pub fn initialize(settings: Settings) -> Result<(), SetLoggerError>

Initializes the global logger using the given settings.

The logger will write all log messages from crates prefixed with "casperlabs_" to stdout, and can also log internal metrics generated by the Execution Engine.

Returns an error if the global logger has already been set in this process.