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.
Afficher le fichier Open project: mrmikey/nes

Méthodes publiques

Свойство Type Description
Silence bool
Verbose bool

Méthodes publiques

Méthode 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

Méthode Description
writeLog ( ConsoleColor cc, string message ) : void

Method Details

e() public static méthode

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

i() public static méthode

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

v() public static méthode

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

w() public static méthode

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
Résultat void

Property Details

Silence public_oe static_oe property

public static bool Silence
Résultat bool

Verbose public_oe static_oe property

public static bool Verbose
Résultat bool