Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

ICQ2000::LogEvent Class Reference

This event is for any logging messages generated by the library. More...

#include <events.h>

Inheritance diagram for ICQ2000::LogEvent:

ICQ2000::Event List of all members.

Public Types

enum  LogType {
  WARN, ERROR, INFO, PACKET,
  DIRECTPACKET
}
 enum of different types of log messages


Public Methods

 LogEvent (LogType type, const std::string &msg)
 Constructor for a LogEvent.

LogType getType () const
 get the type of the log message

std::string getMessage () const
 get the log message


Detailed Description

This event is for any logging messages generated by the library.


Constructor & Destructor Documentation

ICQ2000::LogEvent::LogEvent LogType    type,
const std::string &    msg
 

Constructor for a LogEvent.

Parameters:
type  type of log messages
msg  the log message


Member Function Documentation

string ICQ2000::LogEvent::getMessage   const
 

get the log message

Returns:
log message

LogEvent::LogType ICQ2000::LogEvent::getType   const
 

get the type of the log message

Returns:
type of the log message


The documentation for this class was generated from the following files:
Generated on Sun Jul 21 10:57:33 2002 for libicq2000 by doxygen1.2.16