BloombergLP::ball::FileObserver::FileObserver

Constructors

Synopses

Declared in <ball_fileobserver.h>

Create a file observer that logs to stdout by default.

FileObserver();
» more...

Create a file observer using the specified basicAllocator.

explicit
FileObserver(bslma::Allocator* basicAllocator);
» more...

Create a file observer with the specified stdoutThreshold.

explicit
FileObserver(
    Severity::Level stdoutThreshold,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a file observer with local-time and threshold options.

FileObserver(
    Severity::Level stdoutThreshold,
    bool publishInLocalTime,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default
stdoutThresholdminimum severity for records logged to stdout
publishInLocalTimewhether timestamps are written in local time