C# Class PayPal.Log.DiagnosticsLogger

System.Diagnostics wrapper
Inheritance: BaseLogger
显示文件 Open project: paypal/PayPal-NET-SDK

Public Methods

Method Description
Debug ( string message ) : void

Override the wrapper for System.Diagnostics TraceEventType.Verbose

Debug ( string message, System exception ) : void

Override the wrapper for System.Diagnostics TraceEventType.Verbose

DebugFormat ( string format ) : void

Override the wrapper for System.Diagnostics TraceEventType.Verbose overload

DiagnosticsLogger ( Type givenType ) : System

Initializes a new instance of the DiagnosticsLogger class.

Error ( string message ) : void

Override the wrapper for System.Diagnostics TraceEventType.Error

Error ( string message, System exception ) : void

Override the wrapper for System.Diagnostics TraceEventType.Error

ErrorFormat ( string format ) : void

Override the wrapper for System.Diagnostics TraceEventType.Error overload

Flush ( ) : void

Override flush

Info ( string message ) : void

Override the wrapper for System.Diagnostics TraceEventType.Information

Info ( string message, System exception ) : void

Override the wrapper for System.Diagnostics TraceEventType.Information

InfoFormat ( string format ) : void

Override the wrapper for System.Diagnostics TraceEventType.Information overload

Warn ( string message ) : void

Override the wrapper for System.Diagnostics TraceEventType.Warning

Warn ( string message, System exception ) : void

Override the wrapper for System.Diagnostics TraceEventType.Warning

WarnFormat ( string format ) : void

Override the wrapper for System.Diagnostics TraceEventType.Warning overload

Method Details

Debug() public method

Override the wrapper for System.Diagnostics TraceEventType.Verbose
public Debug ( string message ) : void
message string
return void

Debug() public method

Override the wrapper for System.Diagnostics TraceEventType.Verbose
public Debug ( string message, System exception ) : void
message string
exception System
return void

DebugFormat() public method

Override the wrapper for System.Diagnostics TraceEventType.Verbose overload
public DebugFormat ( string format ) : void
format string
return void

DiagnosticsLogger() public method

Initializes a new instance of the DiagnosticsLogger class.
public DiagnosticsLogger ( Type givenType ) : System
givenType System.Type The type associated with this logger.
return System

Error() public method

Override the wrapper for System.Diagnostics TraceEventType.Error
public Error ( string message ) : void
message string
return void

Error() public method

Override the wrapper for System.Diagnostics TraceEventType.Error
public Error ( string message, System exception ) : void
message string
exception System
return void

ErrorFormat() public method

Override the wrapper for System.Diagnostics TraceEventType.Error overload
public ErrorFormat ( string format ) : void
format string
return void

Flush() public method

Override flush
public Flush ( ) : void
return void

Info() public method

Override the wrapper for System.Diagnostics TraceEventType.Information
public Info ( string message ) : void
message string
return void

Info() public method

Override the wrapper for System.Diagnostics TraceEventType.Information
public Info ( string message, System exception ) : void
message string
exception System
return void

InfoFormat() public method

Override the wrapper for System.Diagnostics TraceEventType.Information overload
public InfoFormat ( string format ) : void
format string
return void

Warn() public method

Override the wrapper for System.Diagnostics TraceEventType.Warning
public Warn ( string message ) : void
message string
return void

Warn() public method

Override the wrapper for System.Diagnostics TraceEventType.Warning
public Warn ( string message, System exception ) : void
message string
exception System
return void

WarnFormat() public method

Override the wrapper for System.Diagnostics TraceEventType.Warning overload
public WarnFormat ( string format ) : void
format string
return void