Codota Logo
Logger
Code IndexAdd Codota to your IDE (free)

How to use
Logger
in
play.api

Best Java code snippets using play.api.Logger (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: com.typesafe.play/play_2.10

/**
 * Returns <code>true</code> if the logger instance has DEBUG level logging enabled.
 */
public boolean isDebugEnabled() {
  return logger.isDebugEnabled();
}
origin: com.typesafe.play/play_2.11

/**
 * 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);
}
origin: com.typesafe.play/play

/**
 * 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);
}
origin: com.typesafe.play/play_2.11

/**
 * Get the underlying SLF4J logger.
 *
 * @return the SLF4J logger
 */
public org.slf4j.Logger underlying() {
  return logger.underlyingLogger();
}
origin: com.typesafe.play/play_2.12

/**
 * 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));
}
origin: com.typesafe.play/play_2.10

/**
 * Returns <code>true</code> if the logger instance has WARN level logging enabled.
 */
public boolean isWarnEnabled() {
  return logger.isWarnEnabled();
}
origin: com.typesafe.play/play_2.12

/**
 * 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);
}
origin: com.typesafe.play/play

/**
 * Get the underlying SLF4J logger.
 *
 * @return the SLF4J logger
 */
public org.slf4j.Logger underlying() {
  return logger.underlyingLogger();
}
origin: com.typesafe.play/play_2.12

/**
 * 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));
}
origin: com.typesafe.play/play_2.10

/**
 * Returns <code>true</code> if the logger instance has ERROR level logging enabled.
 */
public boolean isErrorEnabled() {
  return logger.isWarnEnabled();
}
origin: com.typesafe.play/play_2.11

/**
 * 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);
}
origin: com.typesafe.play/play_2.12

/**
 * 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);
}
origin: com.typesafe.play/play_2.10

/**
 * 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));
}
origin: com.typesafe.play/play_2.12

/**
 * 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);
}
origin: com.typesafe.play/play_2.12

/**
 * 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);
}
origin: com.typesafe.play/play_2.11

/**
 * 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);
}
origin: com.typesafe.play/play_2.12

/**
 * 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);
}
origin: com.typesafe.play/play

/**
 * 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);
}
origin: com.typesafe.play/play_2.12

/**
 * 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);
}
origin: com.typesafe.play/play

/**
 * 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));
}
play.apiLogger

Most used methods

  • apply
  • isDebugEnabled
  • isInfoEnabled
  • isTraceEnabled
  • isWarnEnabled
  • underlyingLogger
  • isErrorEnabled

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now