C# Class ProjToolV2.Log

Exibir arquivo Open project: OfficeDev/Project-Samples

Public Properties

Property Type Description
TraceSource System.Diagnostics.TraceSource

Private Properties

Property Type Description
Log System
LogInternal void
UpdateUiTextbox void
UpdateUiTextbox void

Public Methods

Method Description
WriteCritical ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
WriteCritical ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
WriteCritical ( SourceInfo logSourceInfo, string msg ) : void
WriteError ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
WriteError ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
WriteError ( SourceInfo logSourceInfo, string msg ) : void
WriteInformation ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
WriteInformation ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
WriteInformation ( SourceInfo logSourceInfo, string msg ) : void
WriteVerbose ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
WriteVerbose ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
WriteVerbose ( SourceInfo logSourceInfo, string msg ) : void
WriteWarning ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
WriteWarning ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
WriteWarning ( SourceInfo logSourceInfo, string msg ) : void

Private Methods

Method Description
Log ( ) : System
LogInternal ( SourceInfo logSourceInfo, TraceEventType traceType, string msg ) : void
UpdateUiTextbox ( BackgroundExecutorWithStatus bgws, TextBox textbox, string msg ) : void
UpdateUiTextbox ( TextBox textbox, string msg ) : void

Method Details

WriteCritical() public static method

public static WriteCritical ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
bgws BackgroundExecutorWithStatus
msg string
return void

WriteCritical() public static method

public static WriteCritical ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
msg string
return void

WriteCritical() public static method

public static WriteCritical ( SourceInfo logSourceInfo, string msg ) : void
logSourceInfo SourceInfo
msg string
return void

WriteError() public static method

public static WriteError ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
bgws BackgroundExecutorWithStatus
msg string
return void

WriteError() public static method

public static WriteError ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
msg string
return void

WriteError() public static method

public static WriteError ( SourceInfo logSourceInfo, string msg ) : void
logSourceInfo SourceInfo
msg string
return void

WriteInformation() public static method

public static WriteInformation ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
bgws BackgroundExecutorWithStatus
msg string
return void

WriteInformation() public static method

public static WriteInformation ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
msg string
return void

WriteInformation() public static method

public static WriteInformation ( SourceInfo logSourceInfo, string msg ) : void
logSourceInfo SourceInfo
msg string
return void

WriteVerbose() public static method

public static WriteVerbose ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
bgws BackgroundExecutorWithStatus
msg string
return void

WriteVerbose() public static method

public static WriteVerbose ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
msg string
return void

WriteVerbose() public static method

public static WriteVerbose ( SourceInfo logSourceInfo, string msg ) : void
logSourceInfo SourceInfo
msg string
return void

WriteWarning() public static method

public static WriteWarning ( SourceInfo logSourceInfo, TextBox textbox, BackgroundExecutorWithStatus bgws, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
bgws BackgroundExecutorWithStatus
msg string
return void

WriteWarning() public static method

public static WriteWarning ( SourceInfo logSourceInfo, TextBox textbox, string msg ) : void
logSourceInfo SourceInfo
textbox System.Windows.Forms.TextBox
msg string
return void

WriteWarning() public static method

public static WriteWarning ( SourceInfo logSourceInfo, string msg ) : void
logSourceInfo SourceInfo
msg string
return void

Property Details

TraceSource public_oe static_oe property

public static TraceSource,System.Diagnostics TraceSource
return System.Diagnostics.TraceSource