Package org.slf4j.helpers
Class Util
java.lang.Object
org.slf4j.helpers.Util
An internal utility class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
In order to callSecurityManager.getClassContext()
, which is a protected method, we add this wrapper which allows the method to be visible inside this package. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Util.ClassContextSecurityManager
private static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Class
<?> Returns the name of the class which called the invoking method.private static Util.ClassContextSecurityManager
static final void
static final void
private static Util.ClassContextSecurityManager
static boolean
static String
-
Field Details
-
SECURITY_MANAGER
-
SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED
private static boolean SECURITY_MANAGER_CREATION_ALREADY_ATTEMPTED
-
-
Constructor Details
-
Util
private Util()
-
-
Method Details
-
safeGetSystemProperty
-
safeGetBooleanSystemProperty
-
getSecurityManager
-
safeCreateSecurityManager
-
getCallingClass
Returns the name of the class which called the invoking method.- Returns:
- the name of the class which called the invoking method.
-
report
-
report
-