Preliminary documentation for Ice 3.7.1 Beta. Do not use in production applications. Refer to the space directory for other releases.

   

Depending on the setting of various properties, the Ice run time produces trace, warning, or error messages. These messages are written via the Ice::Logger interface:

Slice
module Ice
{
    local interface Logger
    {
        void print(string message);
        void trace(string category, string message);
        void warning(string message);
        void error(string message);
        string getPrefix();
        Logger cloneWithPrefix(string prefix);
    }
}

The cloneWithPrefix operation returns a new logger that logs to the same destination but with a different prefix. (The prefix is used to, for example, provide the name of the process writing the log messages.)

Topics

See Also

   

  • No labels