|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Handler
org.postgresql.pljava.internal.ELogHandler
public class ELogHandler
Provides access to the loggin mechanism of the PostgreSQL server.
Field Summary | |
---|---|
static int |
LOG_DEBUG1
|
static int |
LOG_DEBUG2
|
static int |
LOG_DEBUG3
|
static int |
LOG_DEBUG4
|
static int |
LOG_DEBUG5
Debugging messages, in categories of decreasing detail. |
static int |
LOG_ERROR
user error - abort transaction; return to known state |
static int |
LOG_FATAL
fatal error - abort process |
static int |
LOG_INFO
Informative messages that are always sent to client; is not affected by client_min_messages |
static int |
LOG_LOG
Server operational messages; sent only to server log by default. |
static int |
LOG_NOTICE
Helpful messages to users about query operation; sent to client and server log by default. |
static int |
LOG_PANIC
take down the other backends with me |
static int |
LOG_WARNING
Warnings |
Constructor Summary | |
---|---|
ELogHandler()
|
Method Summary | |
---|---|
void |
close()
This is a no-op. |
void |
flush()
This is a no-op. |
static java.util.logging.Level |
getPgLevel()
Obtains the "log_min_messages" configuration variable and translates it into a Level object. |
static void |
init()
|
void |
publish(java.util.logging.LogRecord record)
|
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOG_DEBUG5
public static final int LOG_DEBUG4
public static final int LOG_DEBUG3
public static final int LOG_DEBUG2
public static final int LOG_DEBUG1
public static final int LOG_LOG
public static final int LOG_INFO
public static final int LOG_NOTICE
public static final int LOG_WARNING
public static final int LOG_ERROR
public static final int LOG_FATAL
public static final int LOG_PANIC
Constructor Detail |
---|
public ELogHandler()
Method Detail |
---|
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException
public static void init()
public static java.util.logging.Level getPgLevel()
Level
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |