C# 클래스 Meek.Diagnostics.Trace

파일 보기 프로젝트 열기: klintz/Meek

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddLogger ( ILogger logger ) : void

Add a logger on the list

Write ( Exception exception ) : void

Writes the exception that occur during application execution to the trace listeners in the Listernes collection

Write ( object value ) : void

Writes the value of the object's ToString() method to the trace listeners in the Listeners collection.

Write ( object value, LogTypeEnum logType ) : void

Writes the value of the object's ToString() method to the trace listeners in the Listeners collection and defines the type of log.

Write ( object value, string category ) : void

Writes a category name and the value of the object's ToString() method to the trace listeners in the Listeners collection.

Write ( string message ) : void

Writes a message to the trace listeners in the Listeners collection.

Write ( string message, LogTypeEnum logType ) : void

Writes a message to the trace listeners in the Listeners collection and defines the type of log.

Write ( string message, string category ) : void

Writes a category name and a message to the trace listners in the Listeners collection

WriteIf ( bool condition, Exception exception ) : void

Writes an exception to the trace listeners in the Listeners collection if a condition is true and defines the type of log.

WriteIf ( bool condition, object value ) : void

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

WriteIf ( bool condition, object value, LogTypeEnum logType ) : void

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true and defines the type of log..

WriteIf ( bool condition, object value, string category ) : void

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

WriteIf ( bool condition, string message ) : void

Writes a message to the trace listeners in the Listeners collection if a condition is true.

WriteIf ( bool condition, string message, LogTypeEnum logType ) : void

Writes a message to the trace listeners in the Listeners collection if a condition is true and defines the type of log.

WriteIf ( bool condition, string message, string category ) : void

Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.

WriteLine ( Exception exception ) : void

Writes a exeception followed by a line terminator to the trace listeners in the Listeners collection and defines the type of log..

WriteLine ( object value ) : void

Writes the value of the object's ToString method to the trace listeners in the Listeners collection.

WriteLine ( object value, LogTypeEnum logType ) : void

Writes the value of the object's ToString method to the trace listeners in the Listeners collection and defines the type of log..

WriteLine ( object value, string category ) : void

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection.

WriteLine ( string message ) : void

Writes a message followed by a line terminator to the trace listeners in the Listeners collection.

WriteLine ( string message, LogTypeEnum logType ) : void

Writes a message followed by a line terminator to the trace listeners in the Listeners collection and defines the type of log.

WriteLine ( string message, string category ) : void

Writes a category name and message to the trace listeners in the Listeners collection.

WriteLineIf ( bool condition, Exception exception ) : void

Writes the exception that occur during application execution to the trace listeners in the Listernes collection

WriteLineIf ( bool condition, object value ) : void

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

WriteLineIf ( bool condition, object value, LogTypeEnum logType ) : void

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true and defines the type of log.

WriteLineIf ( bool condition, object value, string category ) : void

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.

WriteLineIf ( bool condition, string message ) : void

Writes a message to the trace listeners in the Listeners collection if a condition is true.

WriteLineIf ( bool condition, string message, LogTypeEnum logType ) : void

Writes a message to the trace listeners in the Listeners collection if a condition is true and defines the type of log.

WriteLineIf ( bool condition, string message, string category ) : void

Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.

메소드 상세

AddLogger() 공개 정적인 메소드

Add a logger on the list
public static AddLogger ( ILogger logger ) : void
logger ILogger log
리턴 void

Write() 공개 정적인 메소드

Writes the exception that occur during application execution to the trace listeners in the Listernes collection
public static Write ( Exception exception ) : void
exception System.Exception /// Type: System.Exception /// An exception to write. ///
리턴 void

Write() 공개 정적인 메소드

Writes the value of the object's ToString() method to the trace listeners in the Listeners collection.
public static Write ( object value ) : void
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
리턴 void

Write() 공개 정적인 메소드

Writes the value of the object's ToString() method to the trace listeners in the Listeners collection and defines the type of log.
public static Write ( object value, LogTypeEnum logType ) : void
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

Write() 공개 정적인 메소드

Writes a category name and the value of the object's ToString() method to the trace listeners in the Listeners collection.
public static Write ( object value, string category ) : void
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void

Write() 공개 정적인 메소드

Writes a message to the trace listeners in the Listeners collection.
public static Write ( string message ) : void
message string /// Type: System.String /// A message to write. ///
리턴 void

Write() 공개 정적인 메소드

Writes a message to the trace listeners in the Listeners collection and defines the type of log.
public static Write ( string message, LogTypeEnum logType ) : void
message string /// Type: System.String ///A message to write. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

Write() 공개 정적인 메소드

Writes a category name and a message to the trace listners in the Listeners collection
public static Write ( string message, string category ) : void
message string /// Type: System.String ///A message to write. ///
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void

WriteIf() 공개 정적인 메소드

Writes an exception to the trace listeners in the Listeners collection if a condition is true and defines the type of log.
public static WriteIf ( bool condition, Exception exception ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the value are written to the trace listeners in the collection. ///
exception System.Exception /// Type: System.Exception /// An exception to write. ///
리턴 void

WriteIf() 공개 정적인 메소드

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.
public static WriteIf ( bool condition, object value ) : void
condition bool ///Type: System.Boolean ///The conditional expression to evaluate. If the condition is true, the value is written to the trace listeners in the collection. ///
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
리턴 void

WriteIf() 공개 정적인 메소드

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true and defines the type of log..
public static WriteIf ( bool condition, object value, LogTypeEnum logType ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the value are written to the trace listeners in the collection. ///
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

WriteIf() 공개 정적인 메소드

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.
public static WriteIf ( bool condition, object value, string category ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection.
value object /// Type: System.Object /// An object whose name is sent to the Listeners.
category string /// Type: System.String /// A category name used to organize the output.
리턴 void

WriteIf() 공개 정적인 메소드

Writes a message to the trace listeners in the Listeners collection if a condition is true.
public static WriteIf ( bool condition, string message ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the message is written to the trace listeners in the collection. ///
message string /// Type: System.String /// A message to write. ///
리턴 void

WriteIf() 공개 정적인 메소드

Writes a message to the trace listeners in the Listeners collection if a condition is true and defines the type of log.
public static WriteIf ( bool condition, string message, LogTypeEnum logType ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the value are written to the trace listeners in the collection. ///
message string /// Type: System.String /// A message to write. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

WriteIf() 공개 정적인 메소드

Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.
public static WriteIf ( bool condition, string message, string category ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and message are written to the trace listeners in the collection. ///
message string /// Type: System.String /// A message to write.
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes a exeception followed by a line terminator to the trace listeners in the Listeners collection and defines the type of log..
public static WriteLine ( Exception exception ) : void
exception System.Exception /// Type: System.Exception /// An exception to write. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes the value of the object's ToString method to the trace listeners in the Listeners collection.
public static WriteLine ( object value ) : void
value object /// Type: System.Object ///An object whose name is sent to the Listeners. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes the value of the object's ToString method to the trace listeners in the Listeners collection and defines the type of log..
public static WriteLine ( object value, LogTypeEnum logType ) : void
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection.
public static WriteLine ( object value, string category ) : void
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes a message followed by a line terminator to the trace listeners in the Listeners collection.
public static WriteLine ( string message ) : void
message string /// Type: System.String /// A message to write. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes a message followed by a line terminator to the trace listeners in the Listeners collection and defines the type of log.
public static WriteLine ( string message, LogTypeEnum logType ) : void
message string /// Type: System.String /// A message to write. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

WriteLine() 공개 정적인 메소드

Writes a category name and message to the trace listeners in the Listeners collection.
public static WriteLine ( string message, string category ) : void
message string /// Type: System.String /// A message to write. ///
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes the exception that occur during application execution to the trace listeners in the Listernes collection
public static WriteLineIf ( bool condition, Exception exception ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection. ///
exception System.Exception /// Type: System.Exception /// An exception to write. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.
public static WriteLineIf ( bool condition, object value ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the value is written to the trace listeners in the collection. ///
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true and defines the type of log.
public static WriteLineIf ( bool condition, object value, LogTypeEnum logType ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection. ///
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes a category name and the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true.
public static WriteLineIf ( bool condition, object value, string category ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection. ///
value object /// Type: System.Object /// An object whose name is sent to the Listeners. ///
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes a message to the trace listeners in the Listeners collection if a condition is true.
public static WriteLineIf ( bool condition, string message ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection. ///
message string /// Type: System.String /// A message to write. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes a message to the trace listeners in the Listeners collection if a condition is true and defines the type of log.
public static WriteLineIf ( bool condition, string message, LogTypeEnum logType ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection. ///
message string /// Type: System.String /// A message to write. ///
logType LogTypeEnum /// Type: Meek.Diagnostics.LogTypeEnum /// A log type enum used to organize the output. ///
리턴 void

WriteLineIf() 공개 정적인 메소드

Writes a category name and message to the trace listeners in the Listeners collection if a condition is true.
public static WriteLineIf ( bool condition, string message, string category ) : void
condition bool /// Type: System.Boolean /// The conditional expression to evaluate. If the condition is true, the category name and value are written to the trace listeners in the collection. ///
message string /// Type: System.String /// A message to write. ///
category string /// Type: System.String /// A category name used to organize the output. ///
리턴 void