|
Ice 3.7 C++98 API Reference
|
The Ice message logger. More...
#include <Ice/Ice.h>


Public Types | |
| typedef LoggerPtr | PointerType |
Public Member Functions | |
| virtual LoggerPtr | cloneWithPrefix (const ::std::string &prefix)=0 |
| Returns a clone of the logger with a new prefix. | |
| virtual void | error (const ::std::string &message)=0 |
| Log an error message. | |
| virtual::std::string | getPrefix ()=0 |
| Returns this logger's prefix. | |
| virtual void | print (const ::std::string &message)=0 |
| Print a message. | |
| virtual void | trace (const ::std::string &category, const ::std::string &message)=0 |
| Log a trace message. | |
| virtual void | warning (const ::std::string &message)=0 |
| Log a warning message. | |
| virtual | ~Logger () |
| Public Member Functions inherited from Ice::LocalObject | |
| virtual bool | operator< (const LocalObject &) const |
| virtual bool | operator== (const LocalObject &) const |
| Public Member Functions inherited from IceUtil::Shared | |
| void | __clearFlag (unsigned char flag) |
| virtual void | __decRef () |
| virtual int | __getRef () const |
| bool | __hasFlag (unsigned char flag) |
| virtual void | __incRef () |
| void | __setFlag (unsigned char flag) |
| virtual void | __setNoDelete (bool) |
| Shared & | operator= (const Shared &) |
| Shared () | |
| Shared (const Shared &) | |
| virtual | ~Shared () |
Additional Inherited Members | |
| Static Public Attributes inherited from IceUtil::Shared | |
| static const unsigned char | NoDelete |
| Protected Attributes inherited from IceUtil::Shared | |
| unsigned char | _flags |
| IceUtilInternal::Atomic | _ref |
The Ice message logger.
Applications can provide their own logger by implementing this interface and installing it in a communicator.
| typedef LoggerPtr Ice::Logger::PointerType |
|
virtual |
|
pure virtual |
Returns a clone of the logger with a new prefix.
| prefix | The new prefix for the logger. |
|
pure virtual |
|
pure virtual |
Returns this logger's prefix.
|
pure virtual |
Print a message.
The message is printed literally, without any decorations such as executable name or time stamp.
| message | The message to log. |
|
pure virtual |
Log a trace message.
| category | The trace category. |
| message | The trace message to log. |
|
pure virtual |