Logo Search packages:      
Sourcecode: poco version File versions  Download package

Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Private Attributes

Poco::EventLogChannel Class Reference

#include <EventLogChannel.h>

Inheritance diagram for Poco::EventLogChannel:
Inheritance graph
Collaboration diagram for Poco::EventLogChannel:
Collaboration graph

List of all members.

Public Member Functions

void close ()
void duplicate () const
 EventLogChannel (const std::string &name)
 EventLogChannel (const std::string &name, const std::string &host)
 Creates the EventLogChannel with the given event source name.
std::string getProperty (const std::string &name) const
void log (const Message &msg)
 Closes the EventLogChannel.
void open ()
int referenceCount () const
void release () const
 Increments the object's reference count.
void setProperty (const std::string &name, const std::string &value)

Static Public Attributes

static const std::string PROP_HOST = "host"
static const std::string PROP_LOGFILE = "logfile"
static const std::string PROP_LOGHOST = "loghost"
static const std::string PROP_NAME = "name"
 Returns the value of the given property.

Protected Member Functions

void setUpRegistry () const

Static Protected Member Functions

static std::string findLibrary (const char *name)
static int getCategory (const Message &msg)
static int getType (const Message &msg)

Private Attributes

std::string _host
std::string _logFile
std::string _name

Detailed Description

This Windows-only channel works with the Windows NT Event Log service.

To work properly, the EventLogChannel class requires that either the PocoFoundation.dll or the PocoMsg.dll Dynamic Link Library containing the message definition resources can be found in $PATH.

Definition at line 51 of file EventLogChannel.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index