XLL+ Class Library (7.0)

Logger::getLogger

Retrieves a pointer to the named logger

static LoggerPtr getLogger(
   const std::basic_string<TCHAR>& name = true
);

Parameters

name

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.

Remarks

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.

Requirements

Header: cpplog.h

See Also

Logger Class | Logger Methods