public final class EventLevels extends Object
EventLevels. This is more typesafe than using the Strings in that class.
This is not an enum because the levels can't be loaded until Johnson is initialised.| Modifier and Type | Method and Description |
|---|---|
static EventLevel |
error()
Returns the
EventLevel.ERROR event level. |
static EventLevel |
fatal()
Returns the
EventLevel.FATAL event level. |
static EventLevel |
warning()
Returns the
EventLevel.WARNING event level. |
@Nullable public static EventLevel fatal()
EventLevel.FATAL event level.IllegalStateException - if Johnson has not been initialised@Nullable public static EventLevel error()
EventLevel.ERROR event level.IllegalStateException - if Johnson has not been initialised@Nullable public static EventLevel warning()
EventLevel.WARNING event level.IllegalStateException - if Johnson has not been initialisedCopyright © 2017 Atlassian. All rights reserved.