Package com.google.common.flogger
Class GoogleLogger
- java.lang.Object
-
- com.google.common.flogger.AbstractLogger<GoogleLogger.Api>
-
- com.google.common.flogger.GoogleLogger
-
public final class GoogleLogger extends com.google.common.flogger.AbstractLogger<GoogleLogger.Api>
The default Google specific implementation ofAbstractLoggerwhich extends the coreLoggingApito add Google specific functionality.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGoogleLogger.ApiSeeGoogleLoggingApi.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GoogleLogger.Apiat(java.util.logging.Level level)static GoogleLoggerforEnclosingClass()Returns a new Google specific logger instance using printf style message formatting.static GoogleLoggerforInjectedClassName(java.lang.String className)Deprecated.prefer forEnclosingClass(); this method exists only to support compile-time log site injection.
-
-
-
Method Detail
-
forEnclosingClass
public static GoogleLogger forEnclosingClass()
Returns a new Google specific logger instance using printf style message formatting.
-
forInjectedClassName
@Deprecated public static GoogleLogger forInjectedClassName(java.lang.String className)
Deprecated.prefer forEnclosingClass(); this method exists only to support compile-time log site injection.Returns a new Google specific logger instance for the given class, using printf style message formatting.
-
at
public GoogleLogger.Api at(java.util.logging.Level level)
- Specified by:
atin classcom.google.common.flogger.AbstractLogger<GoogleLogger.Api>
-
-