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 EString & 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.

EString StderrLogger::name() const

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

Reimplements Logger::name().

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.