C# Класс 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.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Silence bool
Verbose bool

Открытые методы

Метод Описание
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!

Приватные методы

Метод Описание
writeLog ( ConsoleColor cc, string message ) : void

Описание методов

e() публичный статический Метод

DOES. NOT. COMPUTE.
public static e ( string error ) : void
error string Why we're potentially screwed
Результат void

i() публичный статический Метод

The information, do you have it?!
public static i ( string info ) : void
info string Something incredibly interesting.
Результат void

v() публичный статический Метод

Some message that's only useful in debugging.
public static v ( string info ) : void
info string Something incredibly interesting.
Результат void

w() публичный статический Метод

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
Результат void

Описание свойств

Silence публичное статическое свойство

public static bool Silence
Результат bool

Verbose публичное статическое свойство

public static bool Verbose
Результат bool