congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Logger
Code IndexAdd Tabnine 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)

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.11

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

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

  • Finding current android device location
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now