Interface DaveLogSink

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DaveLogSink
Receives log messages from the native DAVE library.

Messages may be delivered from any thread that is using the library, including native worker threads.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    log(int severity, String file, int line, String message)
    Called for each log message emitted by the native library.
  • Method Details

    • log

      void log(int severity, String file, int line, String message)
      Called for each log message emitted by the native library.
      Parameters:
      severity - The severity of the message: 0 (verbose), 1 (info), 2 (warning), 3 (error).
      file - The native source file that emitted the message, or an empty string if unknown.
      line - The line in file that emitted the message.
      message - The log message.