ILogger

public interface ILogger

Defines the interface of a logger that is used for logging events and errors during watermarking.

Methods

Method Description
error(String message, Exception exception) Logs an error that occurred during watermarking.
trace(String message) Logs an event occurred during watermarking.
warning(String message) Logs a warning that occurred during watermarking.

error(String message, Exception exception)

public abstract void error(String message, Exception exception)

Logs an error that occurred during watermarking.

Parameters:

Parameter Type Description
message java.lang.String The error message.
exception java.lang.Exception The instance of occured exception.

trace(String message)

public abstract void trace(String message)

Logs an event occurred during watermarking.

Parameters:

Parameter Type Description
message java.lang.String The event message.

warning(String message)

public abstract void warning(String message)

Logs a warning that occurred during watermarking.

Parameters:

Parameter Type Description
message java.lang.String The warning message.