Function casper_execution_engine::shared::logging::initialize[][src]

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

Initializes the global logger using the given settings.

The logger will write all log messages from crates prefixed with “casper_” 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.