Class StackBasedCallerFinder
- java.lang.Object
-
- com.google.common.flogger.backend.Platform.LogCallerFinder
-
- com.google.common.flogger.backend.system.StackBasedCallerFinder
-
public final class StackBasedCallerFinder extends com.google.common.flogger.backend.Platform.LogCallerFinderDefault caller finder implementation which should work on all recent Java releases.See class documentation in
Platform.LogCallerFinderfor important implementation restrictions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringfindLoggingClass(java.lang.Class<? extends com.google.common.flogger.AbstractLogger<?>> loggerClass)com.google.common.flogger.LogSitefindLogSite(java.lang.Class<?> loggerApi, int stackFramesToSkip)static com.google.common.flogger.backend.Platform.LogCallerFindergetInstance()java.lang.StringtoString()
-
-
-
Method Detail
-
getInstance
public static com.google.common.flogger.backend.Platform.LogCallerFinder getInstance()
-
findLoggingClass
public java.lang.String findLoggingClass(java.lang.Class<? extends com.google.common.flogger.AbstractLogger<?>> loggerClass)
- Specified by:
findLoggingClassin classcom.google.common.flogger.backend.Platform.LogCallerFinder
-
findLogSite
public com.google.common.flogger.LogSite findLogSite(java.lang.Class<?> loggerApi, int stackFramesToSkip)- Specified by:
findLogSitein classcom.google.common.flogger.backend.Platform.LogCallerFinder
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-