C# Class Mono.CSharp.ConsoleReportPrinter

Inheritance: StreamReportPrinter
Show file Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
ConsoleReportPrinter ( TextWriter writer ) : System
FriendlyStackTrace ( Exception e ) : string
Print ( AbstractMessage msg ) : void
StackTrace ( ) : void

Protected Methods

Method Description
FormatText ( string txt ) : string

Private Methods

Method Description
ConsoleReportPrinter ( ) : System
FriendlyStackTrace ( StackTrace t ) : string
GetBackground ( string s ) : string
GetForeground ( string s ) : string
NameToCode ( string s ) : int

Method Details

ConsoleReportPrinter() public method

public ConsoleReportPrinter ( TextWriter writer ) : System
writer System.IO.TextWriter
return System

FormatText() protected method

protected FormatText ( string txt ) : string
txt string
return string

FriendlyStackTrace() public static method

public static FriendlyStackTrace ( Exception e ) : string
e System.Exception
return string

Print() public method

public Print ( AbstractMessage msg ) : void
msg AbstractMessage
return void

StackTrace() public static method

public static StackTrace ( ) : void
return void