Ice 3.7 Slice API Reference
|
The Ice message logger. More...
defined in <Ice/Logger.ice>
local interface Logger { ... }
Operations | |
Logger | cloneWithPrefix (string prefix) |
Returns a clone of the logger with a new prefix. More... | |
void | error (string message) |
Log an error message. More... | |
string | getPrefix () |
Returns this logger's prefix. More... | |
void | print (string message) |
Print a message. More... | |
void | trace (string category, string message) |
Log a trace message. More... | |
void | warning (string message) |
Log a warning message. More... | |
The Ice message logger.
Applications can provide their own logger by implementing this interface and installing it in a communicator.
Logger cloneWithPrefix | ( | string | prefix | ) |
Returns a clone of the logger with a new prefix.
prefix | The new prefix for the logger. |
void error | ( | string | message | ) |
string getPrefix | ( | ) |
Returns this logger's prefix.
void print | ( | string | message | ) |
Print a message.
The message is printed literally, without any decorations such as executable name or time stamp.
message | The message to log. |
void trace | ( | string | category, |
string | message | ||
) |
Log a trace message.
category | The trace category. |
message | The trace message to log. |
void warning | ( | string | message | ) |