C# Class Gor.Logger

Mostrar archivo Open project: gamondue/GOR-4H-16

Public Methods

Method 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

Method Description
defaultProperties ( ) : void

Sets default properties, to be called by constructors

logInFile ( string file, string testo ) : void

Method Details

DataLog() public method

public DataLog ( string testo ) : void
testo string
return void

Debug() public method

debugging log
public Debug ( string testo ) : void
testo string string to output
return void

Error() public method

Realizza il log degli errori
public Error ( string testo ) : void
testo string
return void

EventLog() public method

Logs significative events
public EventLog ( string testo ) : void
testo string
return void

Logger() public method

No parameters constructor, uses predefined fields
public Logger ( ) : System
return System

Logger() public method

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
return System

Prompt() public method

public Prompt ( string testo ) : void
testo string
return void