Ice._LoggerOperationsNC Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice-compat Show documentation
Show all versions of ice-compat Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.5
//
//
//
// Generated from file `Logger.ice'
//
// Warning: do not edit this file.
//
//
//
package Ice;
/**
* The Ice message logger. Applications can provide their own logger
* by implementing this interface and installing it in a communicator.
*
**/
public interface _LoggerOperationsNC
{
/**
* Print a message. The message is printed literally, without
* any decorations such as executable name or time stamp.
*
* @param message The message to log.
**/
void print(String message);
/**
* Log a trace message.
*
* @param category The trace category.
*
* @param message The trace message to log.
*
**/
void trace(String category, String message);
/**
* Log a warning message.
*
* @param message The warning message to log.
*
* @see #error
*
**/
void warning(String message);
/**
* Log an error message.
*
* @param message The error message to log.
*
* @see #warning
*
**/
void error(String message);
/**
* Returns this logger's prefix.
*
* @return The prefix.
*
**/
String getPrefix();
/**
* Returns a clone of the logger with a new prefix.
*
* @param prefix The new prefix for the logger.
* @return A logger instance.
*
**/
Logger cloneWithPrefix(String prefix);
}