Note
This class is not completely thread-safe. When using INFO_THEN_DEBUG it is possible that several INFO messages will be logged before dropping to DEBUG.
| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| public static enum | UserDataHelper.
Log mode for the next log message. |
| Modifier and Type | Field and Description |
|---|---|
| private final UserDataHelper. | |
| private volatile long | |
| private final Log | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UserDataHelper. | Returns: Log mode, ornullReturns log mode for the next log message, or |
| private boolean |
| config | back to summary |
|---|---|
| private final UserDataHelper. | |
| lastInfoTime | back to summary |
|---|---|
| private volatile long lastInfoTime | |
| log | back to summary |
|---|---|
| private final Log log | |
| suppressionTime | back to summary |
|---|---|
| private final long suppressionTime | |
| UserDataHelper | back to summary |
|---|---|
| public UserDataHelper(Log log) | |
| getNextMode | back to summary |
|---|---|
| public UserDataHelper. Returns log mode for the next log message, or
If
| |
| logAtInfo | back to summary |
|---|---|
| private boolean logAtInfo() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final UserDataHelper. | |
| public static final UserDataHelper. | |
| public static final UserDataHelper. | |
| public static final UserDataHelper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UserDataHelper. | |
| public static UserDataHelper. |
| DEBUG_ALL | back to summary |
|---|---|
| public static final UserDataHelper. | |
| INFO_ALL | back to summary |
|---|---|
| public static final UserDataHelper. | |
| INFO_THEN_DEBUG | back to summary |
|---|---|
| public static final UserDataHelper. | |
| NONE | back to summary |
|---|---|
| public static final UserDataHelper. | |
| Config | back to summary |
|---|---|
| private Config() | |
| valueOf | back to summary |
|---|---|
| public static UserDataHelper. | |
| values | back to summary |
|---|---|
| public static UserDataHelper. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final UserDataHelper. | |
| public static final UserDataHelper. | |
| public static final UserDataHelper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UserDataHelper. | |
| public static UserDataHelper. |
| DEBUG | back to summary |
|---|---|
| public static final UserDataHelper. | |
| INFO | back to summary |
|---|---|
| public static final UserDataHelper. | |
| INFO_THEN_DEBUG | back to summary |
|---|---|
| public static final UserDataHelper. | |
| Mode | back to summary |
|---|---|
| private Mode() | |
| valueOf | back to summary |
|---|---|
| public static UserDataHelper. | |
| values | back to summary |
|---|---|
| public static UserDataHelper. | |