C# Class wmib.Logging

This class is handling the system terminal, it writes to it using a single thread so that multiple threads do not break their messages as they write to console in same moment
Mostra file Open project: benapetr/wikimedia-bot

Public Properties

Property Type Description
messages List

Public Methods

Method Description
Display ( System.DateTime time, string Message, Syslog MessageType ) : void

Write a message

Exec ( ) : void

Execute thread

Write ( string Message, Syslog MessageType ) : void

Write a message to terminal

Private Methods

Method Description
Flush ( ) : void

Method Details

Display() public static method

Write a message
public static Display ( System.DateTime time, string Message, Syslog MessageType ) : void
time System.DateTime
Message string
MessageType Syslog
return void

Exec() public static method

Execute thread
public static Exec ( ) : void
return void

Write() public static method

Write a message to terminal
public static Write ( string Message, Syslog MessageType ) : void
Message string
MessageType Syslog
return void

Property Details

messages public_oe static_oe property

Database of messages that needs to be written
public static List messages
return List