Interface ILogger

All Known Implementing Classes:
ConsoleLogger

public interface ILogger
Interface for custom logger implementations.

Implement this interface to provide a custom logging backend for the SDK. The SDK will call the appropriate method based on the log level.

Example:


 public class MyCustomLogger implements ILogger {
     public void debug(String message) {
         System.out.println("[DBG] " + message);
     }
     public void info(String message) {
         System.out.println("[INF] " + message);
     }
     public void warn(String message) {
         System.out.println("[WRN] " + message);
     }
     public void error(String message) {
         System.out.println("[ERR] " + message);
     }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug(String message)
     
    void
    error(String message)
     
    void
    info(String message)
     
    void
    warn(String message)
     
  • Method Details

    • debug

      void debug(String message)
    • info

      void info(String message)
    • warn

      void warn(String message)
    • error

      void error(String message)