|Modifier and Type||Field and Description|
Name of the system property that can be used to specify a
|Modifier and Type||Method and Description|
Clockinstance depending on the value of system property
If system property
log4j.Clock=CachedClock is specified,
this method returns an instance of
CachedClock. If system
log4j.Clock=CoarseCachedClock is specified, this
method returns an instance of
If another value is specified, this value is taken as the fully qualified
class name of a class that implements the
Clock interface. An
object of this class is instantiated and returned.
If no value is specified, or if the specified value could not correctly
be instantiated or did not implement the
Clock interface, then an
SystemClock is returned.
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.