Package com.zeroc.Ice
Interface Logger
public interface Logger
The Ice message logger. Applications can provide their own logger
by implementing this interface and installing it in a communicator.
-
Method Summary
Modifier and TypeMethodDescriptioncloneWithPrefix
(String prefix) Returns a clone of the logger with a new prefix.void
Log an error message.Returns this logger's prefix.void
Print a message.void
Log a trace message.void
Log a warning message.
-
Method Details
-
print
Print a message. The message is printed literally, without any decorations such as executable name or time stamp.- Parameters:
message
- The message to log.
-
trace
Log a trace message.- Parameters:
category
- The trace category.message
- The trace message to log.
-
warning
Log a warning message.- Parameters:
message
- The warning message to log.- See Also:
-
error
Log an error message.- Parameters:
message
- The error message to log.- See Also:
-
getPrefix
String getPrefix()Returns this logger's prefix.- Returns:
- The prefix.
-
cloneWithPrefix
Returns a clone of the logger with a new prefix.- Parameters:
prefix
- The new prefix for the logger.- Returns:
- A logger instance.
-