C# Class xLogger.Logger

Provides a logging class. Creates a timestamped log file.
Afficher le fichier Open project: xwcg/SpawnBot

Méthodes publiques

Méthode Description
Write ( string txt ) : void

Write text to console and logfile

Write ( string txt, ConsoleColor clr ) : void

Write text to console and logfile

WriteLine ( string txt ) : void

Write line to console and logfile

WriteLine ( string txt, ConsoleColor clr ) : void

Write line to console and logfile

Method Details

Write() public static méthode

Write text to console and logfile
public static Write ( string txt ) : void
txt string Text
Résultat void

Write() public static méthode

Write text to console and logfile
public static Write ( string txt, ConsoleColor clr ) : void
txt string Text
clr ConsoleColor Text color (for console window)
Résultat void

WriteLine() public static méthode

Write line to console and logfile
public static WriteLine ( string txt ) : void
txt string Line text
Résultat void

WriteLine() public static méthode

Write line to console and logfile
public static WriteLine ( string txt, ConsoleColor clr ) : void
txt string Line text
clr ConsoleColor Line color (for console window)
Résultat void