LogFileWriter Class

Definition

Line 20 of cmsxk/Log.cm

Constructors & Destructor

static LogFileWriter()
private LogFileWriter()

Member Functions

public void Exit()
private void Flush()
public static nothrow LogFileWriter& Instance()
public void Write(const String<char>& msg)

Member Variables

private bool exit
private ConditionVariable exiting
private Thread flusherThread
private static UniquePtr<LogFileWriter> instance
private RecursiveMutex mtx
private StreamWriter writer

Constructor& Destructor Details

LogFileWriter Static Constructor

static LogFileWriter()

Definition
Line 22 of cmsxk/Log.cm


LogFileWriter Constructor

private LogFileWriter()

Definition
Line 29 of cmsxk/Log.cm


Member Function Details

Exit Member Function

public void Exit()

Definition
Line 37 of cmsxk/Log.cm


Flush Member Function

private void Flush()

Definition
Line 43 of cmsxk/Log.cm


Instance Static Member Function

public static nothrow LogFileWriter& Instance()

Definition
Line 25 of cmsxk/Log.cm


Write Member Function

public void Write(const String<char>& msg)

Definition
Line 33 of cmsxk/Log.cm