Class StderrLogger.

Inherits Logger

The StderrLogger logs errors and disaster output to stderr and exits the program immediately in case of a disaster. It is used by some command-line programs.

StderrLogger::StderrLogger( const String & name, uint verbosity )

Creates a logger named name. The object will preface its output lines with name. If verbosity is 0, info messages are suppressed. If verbosity is 0 or 1, debug messages are suppressed.

String StderrLogger::name() const

Returns the name of this object, as supplied to the constructor.

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.