C# Класс BytesRoad.Diag.NSTrace

NSTrace class is similar by its functionality to Trace class that is supplied with .NET Framework.

All trace information generated by the library are logged via this class. Thus the trace information you application logs into Trace class are not mixed with the one that the library produces.

If you would like the library to log its trace information into standard Trace class then you need to set NSTraceOptions.UseSystemTrace property to true.

You may wish to use this class if you want to log trace information into the listeners defined by NSTraceOptions.Listeners collection. However, take into account that trace information logged via this class will be mixed with NetSuit's trace information.

Показать файл Открыть проект

Защищенные методы

Метод Описание
NSTrace ( ) : System.Diagnostics

excluded

Приватные методы

Метод Описание
Close ( ) : void
Flush ( ) : void
FlushIfNeeded ( ) : void
Indent ( ) : void
Unindent ( ) : void
Write ( object value ) : void
Write ( object value, string category ) : void
Write ( string message ) : void
Write ( string message, string category ) : void
WriteIf ( bool condition, object value ) : void
WriteIf ( bool condition, object value, string category ) : void
WriteIf ( bool condition, string message ) : void
WriteIf ( bool condition, string message, string category ) : void
WriteLine ( object value ) : void
WriteLine ( object value, string category ) : void
WriteLine ( string message ) : void
WriteLine ( string message, string category ) : void
WriteLineError ( object value ) : void
WriteLineError ( object value, string category ) : void
WriteLineError ( string message ) : void
WriteLineError ( string message, string category ) : void
WriteLineIf ( bool condition, object value ) : void
WriteLineIf ( bool condition, object value, string category ) : void
WriteLineIf ( bool condition, string message ) : void
WriteLineIf ( bool condition, string message, string category ) : void
WriteLineInfo ( object value ) : void
WriteLineInfo ( object value, string category ) : void
WriteLineInfo ( string message ) : void
WriteLineInfo ( string message, string category ) : void
WriteLineVerbose ( object value ) : void
WriteLineVerbose ( object value, string category ) : void
WriteLineVerbose ( string message ) : void
WriteLineVerbose ( string message, string category ) : void
WriteLineWarning ( object value ) : void
WriteLineWarning ( object value, string category ) : void
WriteLineWarning ( string message ) : void
WriteLineWarning ( string message, string category ) : void

Описание методов

NSTrace() защищенный Метод

excluded
protected NSTrace ( ) : System.Diagnostics
Результат System.Diagnostics