Depending on the setting of various properties, the Ice run time produces trace, warning, or error messages. These messages are written via the Ice::Logger
interface:
Slice
module Ice { local interface Logger { void print(string message); void trace(string category, string message); void warning(string message); void error(string message); string getPrefix(); Logger cloneWithPrefix(string prefix); } }
The cloneWithPrefix
operation returns a new logger that logs to the same destination but with a different prefix. (The prefix is used to, for example, provide the name of the process writing the log messages.)
Topics
- The Default Logger
- Custom Loggers
- Built-in Loggers
- Logger Plug-ins
- The Per-Process Logger
- C++ Logger Utility Classes