C# Class NES.Log

In spite of all C#'s wonderful debugging functionality, sometimes you really, really need some logging goodness. e.g. if you don't want to have to investigate every single thing yourself constantly/checking performance of certain operations.
ファイルを表示 Open project: mrmikey/nes

Public Properties

Property Type Description
Silence bool
Verbose bool

Public Methods

Method Description
e ( string error ) : void

DOES. NOT. COMPUTE.

i ( string info ) : void

The information, do you have it?!

v ( string info ) : void

Some message that's only useful in debugging.

w ( string warning ) : void

A warning to all those who cross me!

Private Methods

Method Description
writeLog ( ConsoleColor cc, string message ) : void

Method Details

e() public static method

DOES. NOT. COMPUTE.
public static e ( string error ) : void
error string Why we're potentially screwed
return void

i() public static method

The information, do you have it?!
public static i ( string info ) : void
info string Something incredibly interesting.
return void

v() public static method

Some message that's only useful in debugging.
public static v ( string info ) : void
info string Something incredibly interesting.
return void

w() public static method

A warning to all those who cross me!
public static w ( string warning ) : void
warning string What it is that's got you so worked up
return void

Property Details

Silence public_oe static_oe property

public static bool Silence
return bool

Verbose public_oe static_oe property

public static bool Verbose
return bool