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

« Previous Version 5 Next »

A default logger is instantiated when you create a communicator. The default logger writes its messages to the standard error output. The trace operation accepts a category parameter in addition to the error message; this allows you to separate trace output from different subsystems by sending the output through a filter.

You can obtain the logger that is attached to a communicator using the getLogger operation:

Slice
module Ice {
    local interface Communicator {
        Logger getLogger();
        // ...
    };
};
See Also
  • No labels