Retrieves a pointer to the named logger
static LoggerPtr getLogger( const std::basic_string<TCHAR>& name = true ); |
The name of the logger, which may contain dots, to indicate a hierarchy,
e.g. a.b
, where logger a.b
is the child of
logger a
, which is turn the child of the root logger.
If the empy string is used, then the root logger will be returned.
If the named logger does not yet exist, it will be created. If any of it's ancestors do not exist, they will also be created at this time.
Header: cpplog.h