Child pages
  • The Default Logger

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

Skip to end of metadata
Go to start of metadata

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