C# Class ApprovalUtilities.SimpleLogger.LoggerInstance

ファイルを表示 Open project: approvals/ApprovalTests.Net

Public Properties

Property Type Description
TabSize int
Writer IAppendable

Public Methods

Method Description
Event ( string message ) : string
GetCallingMethod ( ) : string
LogToStringBuilder ( ) : StringBuilderLogger
MarkerIn ( ) : void
MarkerOut ( ) : void
Message ( string message ) : string
Miscellaneous ( string label, string message ) : string
Show ( bool markerIn = true, bool variables = true, bool events = true, bool sql = true, bool timestamp = true, bool timeDifference = true ) : void
Sql ( string sql ) : string
UseTimer ( ILoader timeLoader ) : void
Variable ( string name, object value ) : void
Warning ( string format ) : string
Warning ( Exception except ) : void

Private Methods

Method Description
GetIndentation ( ) : string
PrintWarning ( ) : void
Write ( string text ) : void
drawMarker ( string arrow, bool stepIn ) : void

Method Details

Event() public method

public Event ( string message ) : string
message string
return string

GetCallingMethod() public method

public GetCallingMethod ( ) : string
return string

LogToStringBuilder() public method

public LogToStringBuilder ( ) : StringBuilderLogger
return StringBuilderLogger

MarkerIn() public method

public MarkerIn ( ) : void
return void

MarkerOut() public method

public MarkerOut ( ) : void
return void

Message() public method

public Message ( string message ) : string
message string
return string

Miscellaneous() public method

public Miscellaneous ( string label, string message ) : string
label string
message string
return string

Show() public method

public Show ( bool markerIn = true, bool variables = true, bool events = true, bool sql = true, bool timestamp = true, bool timeDifference = true ) : void
markerIn bool
variables bool
events bool
sql bool
timestamp bool
timeDifference bool
return void

Sql() public method

public Sql ( string sql ) : string
sql string
return string

UseTimer() public method

public UseTimer ( ILoader timeLoader ) : void
timeLoader ILoader
return void

Variable() public method

public Variable ( string name, object value ) : void
name string
value object
return void

Warning() public method

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

Warning() public method

public Warning ( Exception except ) : void
except System.Exception
return void

Property Details

TabSize public_oe property

public int TabSize
return int

Writer public_oe property

public IAppendable Writer
return IAppendable