XLL+ Class Library (6.3)

Logger::setLevel

Sets the severity level of the logger

void setLevel(
   LogLevel level
);

Parameters

level

If the level is set to LL_DEFAULT, then the severity level of the parent logger will be used. (Note that LL_DEFAULT may not be applied to the root logger.)

Remarks

Messages sent to this logger which are of lower severity than the level set with this method will be discarded.

Messages sent to this logger which are of the same or higher severity than the level set with this method will be streamed to any appenders, and will be passed on to the parent logger.

Requirements

Header: cpplog.h

See Also

Logger Class | Logger Methods | LogLevel enumeration