C# Class TracerOwnLogAdapter.Adapters.LoggerAdapter

Show file Open project: Fody/FodyAddinSamples

Public Properties

Property Type Description
LoggedLines List

Public Methods

Method Description
LoggerAdapter ( Type type ) : System
MyLogSomethingImportant ( string methodInfo, int importantValue, string message ) : void
TraceEnter ( string methodInfo, string paramNames, object paramValues ) : void
TraceLeave ( string methodInfo, long start, long finish, string paramNames, object paramValues ) : void

Private Methods

Method Description
BuildParameterInfo ( string paramNames, object paramValues ) : string
DoLog ( string message ) : void

Method Details

LoggerAdapter() public method

public LoggerAdapter ( Type type ) : System
type System.Type
return System

MyLogSomethingImportant() public method

public MyLogSomethingImportant ( string methodInfo, int importantValue, string message ) : void
methodInfo string
importantValue int
message string
return void

TraceEnter() public method

public TraceEnter ( string methodInfo, string paramNames, object paramValues ) : void
methodInfo string
paramNames string
paramValues object
return void

TraceLeave() public method

public TraceLeave ( string methodInfo, long start, long finish, string paramNames, object paramValues ) : void
methodInfo string
start long
finish long
paramNames string
paramValues object
return void

Property Details

LoggedLines public static property

public static List LoggedLines
return List