Function email::log::create

Function Documentation

std::shared_ptr<Logger> email::log::create(const std::string &name)

Create logger from the root logger.

Uses sink(s) and log level from the root logger.

Will initialize logging from environment if not initialized.

Parameters:

name – the name of the logger

Returns:

the logger