Documentation for Ice 3.4. The latest release is Ice 3.7. Refer to the space directory for other releases.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


Ice::Logger

Overview

local interface Logger

The Ice message logger. Applications can provide their own logger by implementing this interface and installing it in a communicator.

Used By

Operation Index

print — Print a message.
trace — Log a trace message.
warning — Log a warning message.
error — Log an error message.
cloneWithPrefix — Returns a clone of the logger with a new prefix.

Operations

void print(string message)

Print a message. The message is printed literally, without any decorations such as executable name or time stamp.

void trace(string category, string message)

Log a trace message.

Parameters

category — The trace category.
message — The trace message to log.

void warning(string message)

Log a warning message.

Parameters

message — The warning message to log.

See Also

void error(string message)

Log an error message.

Parameters

message — The error message to log.

See Also

Ice::Logger cloneWithPrefix(string prefix)

Returns a clone of the logger with a new prefix.

Parameters

prefix — The new prefix for the logger.


  • No labels