Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::Logger Class Referenceabstract

Represents Ice's abstraction for logging and tracing. More...

#include <Ice/Ice.h>

Public Member Functions

virtual LoggerPtr cloneWithPrefix (std::string prefix)=0
 Returns a clone of the logger with a new prefix.
virtual void error (const std::string &message)=0
 Logs an error message.
virtual std::string getPrefix ()=0
 Returns this logger's prefix.
virtual void print (const std::string &message)=0
 Prints a message.
virtual void trace (const std::string &category, const std::string &message)=0
 Logs trace message.
virtual void warning (const std::string &message)=0
 Logs a warning message.

Detailed Description

Represents Ice's abstraction for logging and tracing.

Applications can provide their own logger by implementing this abstraction and setting a logger on the communicator.

See also
InitializationData

Definition at line 22 of file Logger.h.


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