Top Description Fields Constructors Methods
com.google.common.util.concurrent

pack-priv final Class LazyLogger

extends Object
Class Inheritance
Annotations
@GwtCompatible
@ElementTypesAreNonnullByDefault
Imports
com.google.common.annotations.GwtCompatible, java.util.logging.Logger, org.checkerframework.checker.nullness.qual.Nullable

A holder for a Logger that is initialized only when requested.

Field Summary

Modifier and TypeField and Description
private volatile @Nullable Logger
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
LazyLogger(Class<?> ownerOfLogger)

Method Summary

Modifier and TypeMethod and Description
pack-priv Logger
get()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private volatile @Nullable Logger logger
loggerNameback to summary
private final String loggerName

Constructor Detail

LazyLoggerback to summary
pack-priv LazyLogger(Class<?> ownerOfLogger)

Method Detail

getback to summary
pack-priv Logger get()