- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Charset c =
String charsetName;Charset.forName(charsetName)
Charset.defaultCharset()
ContentType contentType;contentType.getCharset()
- Smart code suggestions by Codota
}
/** * 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 INFO level, with the given error. * * @param marker the marker data specific to this log statement * @param message message to log * @param error associated exception */ public void info(Marker marker, String message, Throwable error) { logger.underlyingLogger().info(marker, message, error); }
/** * 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); }
/** * Log a message with the ERROR level, with the given error. * * @param message message to log * @param error associated exception */ public void error(String message, Throwable error) { logger.underlyingLogger().error(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)); }