C# Class Gor.Logger

Afficher le fichier Open project: gamondue/GOR-4H-16

Méthodes publiques

Méthode Description
DataLog ( string testo ) : void
Debug ( string testo ) : void

debugging log

Error ( string testo ) : void

Realizza il log degli errori

EventLog ( string testo ) : void

Logs significative events

Logger ( ) : System

No parameters constructor, uses predefined fields

Logger ( string CommonPath, bool ShowAll, string EventLogFile, string ErrorFile, string DebugFile, string PromptsFile, string DataLogFile ) : System

Constructor

Prompt ( string testo ) : void

Private Methods

Méthode Description
defaultProperties ( ) : void

Sets default properties, to be called by constructors

logInFile ( string file, string testo ) : void

Method Details

DataLog() public méthode

public DataLog ( string testo ) : void
testo string
Résultat void

Debug() public méthode

debugging log
public Debug ( string testo ) : void
testo string string to output
Résultat void

Error() public méthode

Realizza il log degli errori
public Error ( string testo ) : void
testo string
Résultat void

EventLog() public méthode

Logs significative events
public EventLog ( string testo ) : void
testo string
Résultat void

Logger() public méthode

No parameters constructor, uses predefined fields
public Logger ( ) : System
Résultat System

Logger() public méthode

Constructor
public Logger ( string CommonPath, bool ShowAll, string EventLogFile, string ErrorFile, string DebugFile, string PromptsFile, string DataLogFile ) : System
CommonPath string Path added to all filenames
ShowAll bool
EventLogFile string
ErrorFile string [Path] & filename for errors (if "" => no log)
DebugFile string
PromptsFile string [Path] & filename for console prompts (if "" => no log)
DataLogFile string
Résultat System

Prompt() public méthode

public Prompt ( string testo ) : void
testo string
Résultat void