C# Class System.Diagnostics.Log

Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
GlobalSwitch LogSwitch

Public Methods

Method Description
AddOnLogMessage ( LogMessageEventHandler handler ) : void
AddOnLogSwitchLevel ( LogSwitchLevelHandler handler ) : void
AddStream ( Stream stream ) : void
Error ( LogSwitch logswitch, String message ) : void
Error ( String message ) : void
Error ( String switchname, String message ) : void
LogMessage ( LoggingLevels level, String message ) : void
Panic ( String message ) : void
RemoveOnLogMessage ( LogMessageEventHandler handler ) : void
RemoveOnLogSwitchLevel ( LogSwitchLevelHandler handler ) : void
Status ( LogSwitch logswitch, String message ) : void
Status ( String message ) : void
Status ( String switchname, String message ) : void
Trace ( LogSwitch logswitch, String message ) : void
Trace ( String message ) : void
Trace ( String switchname, String message ) : void
Warning ( LogSwitch logswitch, String message ) : void
Warning ( String message ) : void
Warning ( String switchname, String message ) : void

Private Methods

Method Description
AddLogSwitch ( LogSwitch logSwitch ) : void
InvokeLogSwitchLevelHandlers ( LogSwitch ls, LoggingLevels newLevel ) : void
Log ( ) : System.Runtime.Remoting
LogMessage ( LoggingLevels level, LogSwitch logswitch, String message ) : void
ModifyLogSwitch ( int iNewLevel, String strSwitchName, String strParentName ) : void

Method Details

AddOnLogMessage() public static method

public static AddOnLogMessage ( LogMessageEventHandler handler ) : void
handler LogMessageEventHandler
return void

AddOnLogSwitchLevel() public static method

public static AddOnLogSwitchLevel ( LogSwitchLevelHandler handler ) : void
handler LogSwitchLevelHandler
return void

AddStream() public static method

public static AddStream ( Stream stream ) : void
stream Stream
return void

Error() public static method

public static Error ( LogSwitch logswitch, String message ) : void
logswitch LogSwitch
message String
return void

Error() public static method

public static Error ( String message ) : void
message String
return void

Error() public static method

public static Error ( String switchname, String message ) : void
switchname String
message String
return void

LogMessage() public static method

public static LogMessage ( LoggingLevels level, String message ) : void
level LoggingLevels
message String
return void

Panic() public static method

public static Panic ( String message ) : void
message String
return void

RemoveOnLogMessage() public static method

public static RemoveOnLogMessage ( LogMessageEventHandler handler ) : void
handler LogMessageEventHandler
return void

RemoveOnLogSwitchLevel() public static method

public static RemoveOnLogSwitchLevel ( LogSwitchLevelHandler handler ) : void
handler LogSwitchLevelHandler
return void

Status() public static method

public static Status ( LogSwitch logswitch, String message ) : void
logswitch LogSwitch
message String
return void

Status() public static method

public static Status ( String message ) : void
message String
return void

Status() public static method

public static Status ( String switchname, String message ) : void
switchname String
message String
return void

Trace() public static method

public static Trace ( LogSwitch logswitch, String message ) : void
logswitch LogSwitch
message String
return void

Trace() public static method

public static Trace ( String message ) : void
message String
return void

Trace() public static method

public static Trace ( String switchname, String message ) : void
switchname String
message String
return void

Warning() public static method

public static Warning ( LogSwitch logswitch, String message ) : void
logswitch LogSwitch
message String
return void

Warning() public static method

public static Warning ( String message ) : void
message String
return void

Warning() public static method

public static Warning ( String switchname, String message ) : void
switchname String
message String
return void

Property Details

GlobalSwitch public_oe static_oe property

public static LogSwitch,System.Diagnostics GlobalSwitch
return LogSwitch