public static enum EnableGoogleAnalytics.LogLevel extends Enum<EnableGoogleAnalytics.LogLevel>
EnableGoogleAnalytics.productionLogging()
and
EnableGoogleAnalytics.devLogging()
.Enum Constant and Description |
---|
DEBUG
Log basic information to the client-side JavaScript console.
|
NONE
Log nothing to the client-side JavaScript console.
|
TRACE
Log all available information to the client-side JavaScript console.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(TrackerConfiguration config)
Applies this log level to the given tracker configuration object.
|
static EnableGoogleAnalytics.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnableGoogleAnalytics.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableGoogleAnalytics.LogLevel NONE
public static final EnableGoogleAnalytics.LogLevel DEBUG
public static final EnableGoogleAnalytics.LogLevel TRACE
public static EnableGoogleAnalytics.LogLevel[] values()
for (EnableGoogleAnalytics.LogLevel c : EnableGoogleAnalytics.LogLevel.values()) System.out.println(c);
public static EnableGoogleAnalytics.LogLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void apply(TrackerConfiguration config)
config
- the configuration object to update, not null
Copyright © 2023 Sami Ekblad. All rights reserved.