org.postgresql.core
Class Logger
java.lang.Object
org.postgresql.core.Logger
public final class Logger
- extends Object
Poor man's logging infrastructure. This just deals with maintaining a per- connection ID and log
level, and timestamping output.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Logger
public Logger()
Logger
public Logger(int connectionID)
setLogLevel
public void setLogLevel(int level)
getLogLevel
public int getLogLevel()
logDebug
public boolean logDebug()
logInfo
public boolean logInfo()
debug
public void debug(String str)
debug
public void debug(String str,
Throwable t)
info
public void info(String str)
info
public void info(String str,
Throwable t)
log
public void log(String str,
Throwable t)
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.