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 Details

    • print

      void print(String message)
      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

      void trace(String category, String message)
      Log a trace message.
      Parameters:
      category - The trace category.
      message - The trace message to log.
    • warning

      void warning(String message)
      Log a warning message.
      Parameters:
      message - The warning message to log.
      See Also:
    • error

      void error(String message)
      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

      Logger cloneWithPrefix(String prefix)
      Returns a clone of the logger with a new prefix.
      Parameters:
      prefix - The new prefix for the logger.
      Returns:
      A logger instance.