ILogger class

ILogger class

Defines interface of a logger that is used for logging events and errors in an index.

Learn more:

The ILogger type exposes the following members:

Methods

Method Description
error Logs an error that occurred in the index.
trace Logs an event that occurred in the index.

Example

class ConsoleLogger:
    def error(self, message):
        print("Error: " + message)

    def trace(self, message):
        print(message)

See Also