C# Class IrcShark.LogMessage

Represents a message to log.
Exibir arquivo Open project: hapm/IrcShark Class Usage Examples

Public Methods

Method Description
LogMessage ( LogLevels type, string msg ) : System
LogMessage ( LogLevels type, string msg, string subject ) : System
LogMessage ( string msg ) : System
LogMessage ( string channel, int id, LogLevel level, string msg ) : System

Initializes a new instance of the LogMessage class with the given text and level on the given channel.

LogMessage ( string channel, int id, string msg ) : System

Initializes a new instance of the LogMessage class with the given text on the given channel.

Method Details

LogMessage() public method

public LogMessage ( LogLevels type, string msg ) : System
type LogLevels
msg string
return System

LogMessage() public method

public LogMessage ( LogLevels type, string msg, string subject ) : System
type LogLevels
msg string
subject string
return System

LogMessage() public method

public LogMessage ( string msg ) : System
msg string
return System

LogMessage() public method

Initializes a new instance of the LogMessage class with the given text and level on the given channel.
public LogMessage ( string channel, int id, LogLevel level, string msg ) : System
channel string /// The name of the channel the message was logged to. ///
id int /// An identfication number for this message unique for the log channel. ///
level LogLevel /// The of this LogMessage. ///
msg string /// The message belonging to this log entry. ///
return System

LogMessage() public method

Initializes a new instance of the LogMessage class with the given text on the given channel.
public LogMessage ( string channel, int id, string msg ) : System
channel string /// The name of the channel the message was logged to. ///
id int /// An identfication number for this message unique for the log channel. ///
msg string /// The message belonging to this log entry. ///
return System