NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Common.Log.ConsoleLog Class Reference
Inheritance diagram for Ntp.Common.Log.ConsoleLog:
Collaboration diagram for Ntp.Common.Log.ConsoleLog:

Public Member Functions

override void Close ()
 
- Public Member Functions inherited from Ntp.Common.Log.TextLog
override void Initialize ()
 
override void Resume ()
 
override void Suspend ()
 
override void WriteLine (string text, Severity severity)
 
override void WriteLine (Exception exception)
 
override void WriteLine (Exception exception, Severity severity)
 

Protected Member Functions

override TextWriter CreateWriter ()
 
- Protected Member Functions inherited from Ntp.Common.Log.TextLog
 TextLog (Severity threshold, string timeFormat)
 
- Protected Member Functions inherited from Ntp.Common.Log.LogBase
 LogBase (Severity threshold, bool isSysLog=false)
 

Package Functions

 ConsoleLog (Severity threshold, string timeFormat)
 
 ConsoleLog (Severity threshold)
 

Additional Inherited Members

- Protected Attributes inherited from Ntp.Common.Log.TextLog
bool Closed
 
bool Initialized
 
readonly object Locker = new object()
 
- Properties inherited from Ntp.Common.Log.TextLog
bool ShowSeverity [get, set]
 
bool ShowTimeStamp [get, set]
 
- Properties inherited from Ntp.Common.Log.LogBase
bool IsSysLog [get]
 
Severity Threshold [get]
 

Detailed Description

Definition at line 27 of file ConsoleLog.cs.

Constructor & Destructor Documentation

Ntp.Common.Log.ConsoleLog.ConsoleLog ( Severity  threshold,
string  timeFormat 
)
inlinepackage

Definition at line 29 of file ConsoleLog.cs.

30  : base(threshold, timeFormat)
31  {
32  }
readonly string timeFormat
Definition: TextLog.cs:41
Ntp.Common.Log.ConsoleLog.ConsoleLog ( Severity  threshold)
inlinepackage

Definition at line 34 of file ConsoleLog.cs.

35  : base(threshold, null)
36  {
37  }

Member Function Documentation

override void Ntp.Common.Log.ConsoleLog.Close ( )
inlinevirtual

Implements Ntp.Common.Log.LogBase.

Definition at line 39 of file ConsoleLog.cs.

40  {
41  // Dont close standard out stream
42  }
override TextWriter Ntp.Common.Log.ConsoleLog.CreateWriter ( )
inlineprotectedvirtual

Implements Ntp.Common.Log.TextLog.

Definition at line 44 of file ConsoleLog.cs.

References Ntp.Common.Log.Console.

45  {
46  return Console.Out;
47  }

The documentation for this class was generated from the following file: