com.amazon.redshift.logger.LogHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redshift-jdbc42 Show documentation
Show all versions of redshift-jdbc42 Show documentation
Java JDBC 4.2 (JRE 8+) driver for Redshift database
package com.amazon.redshift.logger;
public interface LogHandler {
/**
* Write the message using this handler.
* This can be a file or console.
*
* @param message Log entry
* @throws Exception throws when any error happens during write operation.
*/
public void write(String message) throws Exception;
public void close() throws Exception;
public void flush();
}