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 classIn 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.ClassContextSecurityManagerprivate 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.ClassContextSecurityManagerstatic final voidstatic final voidprivate static Util.ClassContextSecurityManagerstatic booleanstatic 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
-