/** * Returns <code>true</code> if the logger instance has DEBUG level logging enabled. */ public boolean isDebugEnabled() { return logger.isDebugEnabled(); }
/** * Returns <code>true</code> if the logger instance has INFO level logging enabled. * * @return <code>true</code> if the logger instance has INFO level logging enabled. */ public boolean isInfoEnabled() { return logger.isInfoEnabled(noMarker); }
/** * Returns <code>true</code> if the logger instance has TRACE level logging enabled. * * @return <code>true</code> if the logger instance has TRACE level logging enabled. */ public boolean isTraceEnabled() { return logger.isTraceEnabled(noMarker); }
/** * Get the underlying SLF4J logger. * * @return the SLF4J logger */ public org.slf4j.Logger underlying() { return logger.underlyingLogger(); }
/** * Obtain a logger instance. * * @param clazz a class whose name will be used as logger name * @return a logger */ public static ALogger of(Class<?> clazz) { return new ALogger(play.api.Logger.apply(clazz)); }
/** * Returns <code>true</code> if the logger instance has WARN level logging enabled. */ public boolean isWarnEnabled() { return logger.isWarnEnabled(); }
/** * Returns <code>true</code> if the logger instance has ERROR level logging enabled. * * @return <code>true</code> if the logger instance has ERROR level logging enabled. */ public boolean isErrorEnabled() { return logger.isErrorEnabled(noMarker); }
/** * Get the underlying SLF4J logger. * * @return the SLF4J logger */ public org.slf4j.Logger underlying() { return logger.underlyingLogger(); }
/** * Obtain a logger instance. * * @param name name of the logger * @return a logger */ public static ALogger of(String name) { return new ALogger(play.api.Logger.apply(name)); }
/** * Returns <code>true</code> if the logger instance has ERROR level logging enabled. */ public boolean isErrorEnabled() { return logger.isWarnEnabled(); }
/** * Returns <code>true</code> if the logger instance has ERROR level logging enabled. * * @return <code>true</code> if the logger instance has ERROR level logging enabled. */ public boolean isErrorEnabled() { return logger.isErrorEnabled(noMarker); }
/** * Logs a message with the DEBUG level. * * @param message Message to log * @param args The arguments to apply to the message string */ public void debug(String message, Object... args) { logger.underlyingLogger().debug(message, args); }
/** * Obtain a logger instance. * * @param clazz a class whose name will be used as logger name * @return a logger */ public static ALogger of(Class<?> clazz) { return new ALogger(play.api.Logger.apply(clazz)); }
/** * Returns <code>true</code> if the logger instance has WARN level logging enabled. * * @return <code>true</code> if the logger instance has WARN level logging enabled. */ public boolean isWarnEnabled() { return logger.isWarnEnabled(noMarker); }
/** * Returns <code>true</code> if the logger instance has DEBUG level logging enabled. * * @return <code>true</code> if the logger instance has DEBUG level logging enabled. */ public boolean isDebugEnabled() { return logger.isDebugEnabled(noMarker); }
/** * Returns <code>true</code> if the logger instance has TRACE level logging enabled. * * @return <code>true</code> if the logger instance has TRACE level logging enabled. */ public boolean isTraceEnabled() { return logger.isTraceEnabled(noMarker); }
/** * Returns <code>true</code> if the logger instance has INFO level logging enabled. * * @return <code>true</code> if the logger instance has INFO level logging enabled. */ public boolean isInfoEnabled() { return logger.isInfoEnabled(noMarker); }
/** * Returns <code>true</code> if the logger instance has ERROR level logging enabled. * * @return <code>true</code> if the logger instance has ERROR level logging enabled. */ public boolean isErrorEnabled() { return logger.isErrorEnabled(noMarker); }
/** * Logs a message with the DEBUG level, with the given error. * * @param message Message to log * @param error associated exception */ public void debug(String message, Throwable error) { logger.underlyingLogger().debug(message, error); }
/** * Obtain a logger instance. * * @param name name of the logger * @return a logger */ public static ALogger of(String name) { return new ALogger(play.api.Logger.apply(name)); }