Package com.luciad

Interface ILoggingBackend


public interface ILoggingBackend
Backend for the logging in this library.

Users can implement this backend to delegate the internal logging to their framework of choice. The implementation must then be configured during global initialization in order to be used by this library.

Implementations must be thread-safe. All methods will be called concurrently from various threads.

Note that the only purpose of this interface is to facilitate redirecting the logging performed by this library. We expect that, in your own code, you use your framework of choice directly.

  • Method Details Link icon

    • newLogger Link icon

      @NotNull Object newLogger(@NotNull String name)
    • isEnabled Link icon

      boolean isEnabled(@Nullable Object handle, @NotNull LogLevel level)
    • log Link icon

      void log(@Nullable Object handle, @NotNull LogLevel level, @NotNull String message)
    • log Link icon

      void log(@Nullable Object handle, @NotNull LogLevel level, @NotNull String message, @NotNull Throwable exception)
    • deleteLogger Link icon

      void deleteLogger(@Nullable Object handle)