C# Class Common.Logging.DelegateLogger

Inheritance: ILogger
显示文件 Open project: Azure-Samples/service-fabric-dotnet-data-streaming-websockets

Public Methods

Method Description
Debug ( string format ) : void
DelegateLogger ( string logName, Action logMethod ) : System
Error ( Exception exception, string format ) : void
Info ( string format ) : void
TraceApi ( string method, System.TimeSpan timespan ) : void
TraceApi ( string method, System.TimeSpan timespan, string format ) : void
Warning ( Exception exception, string format ) : void
Warning ( string format ) : void

Method Details

Debug() public method

public Debug ( string format ) : void
format string
return void

DelegateLogger() public method

public DelegateLogger ( string logName, Action logMethod ) : System
logName string
logMethod Action
return System

Error() public method

public Error ( Exception exception, string format ) : void
exception System.Exception
format string
return void

Info() public method

public Info ( string format ) : void
format string
return void

TraceApi() public method

public TraceApi ( string method, System.TimeSpan timespan ) : void
method string
timespan System.TimeSpan
return void

TraceApi() public method

public TraceApi ( string method, System.TimeSpan timespan, string format ) : void
method string
timespan System.TimeSpan
format string
return void

Warning() public method

public Warning ( Exception exception, string format ) : void
exception System.Exception
format string
return void

Warning() public method

public Warning ( string format ) : void
format string
return void