Tabnine Logo
LogDelegateFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
LogDelegateFactory
in
org.springframework.core.log

Best Java code snippets using org.springframework.core.log.LogDelegateFactory (Showing top 8 results out of 315)

origin: spring-projects/spring-framework

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * it or to the fallback logger "org.springframework.web.HttpLogging",
 * if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: spring-projects/spring-framework

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * either the primary or to the shared fallback logger
 * "org.springframework.web.HttpLogging", if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: org.springframework/spring-web

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * it or to the fallback logger "org.springframework.web.HttpLogging",
 * if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: org.springframework/spring-messaging

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * either the primary or to the shared fallback logger
 * "org.springframework.web.HttpLogging", if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: apache/servicemix-bundles

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * it or to the fallback logger "org.springframework.web.HttpLogging",
 * if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-messaging

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * either the primary or to the shared fallback logger
 * "org.springframework.web.HttpLogging", if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-web

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * it or to the fallback logger "org.springframework.web.HttpLogging",
 * if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
origin: apache/servicemix-bundles

/**
 * Wrap the given primary logger with a composite logger that delegates to
 * either the primary or to the shared fallback logger
 * "org.springframework.web.HttpLogging", if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
  return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
org.springframework.core.logLogDelegateFactory

Javadoc

Factory for common Log delegates with Spring's logging conventions.

Mainly for internal use within the framework with Apache Commons Logging, typically in the form of the spring-jcl bridge but also compatible with other Commons Logging bridges.

Most used methods

  • getCompositeLog
    Create a composite logger that delegates to a primary or falls back on a secondary logger if logging

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • getExternalFilesDir (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JOptionPane (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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