org.slf4j.LoggerFactory.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler Show documentation
Show all versions of kotlin-compiler Show documentation
CodeOwners Kotlin Compiler Plugin
???? 4? org/slf4j/LoggerFactory java/util/ArrayList
()V
java/lang/Class getClassLoader ()Ljava/lang/ClassLoader;
loadExplicitlySpecified =(Ljava/lang/ClassLoader;)Lorg/slf4j/spi/SLF4JServiceProvider; java/util/List add (Ljava/lang/Object;)Z
getServiceLoader 2(Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
! " java/util/ServiceLoader iterator ()Ljava/util/Iterator; $ % & ' ( java/util/Iterator hasNext ()Z
* + , safelyInstantiate '(Ljava/util/List;Ljava/util/Iterator;)V
. / 0 1 2 java/lang/System getSecurityManager ()Ljava/lang/SecurityManager; 4 "org/slf4j/spi/SLF4JServiceProvider
6 7 8 load C(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader; : ; < run 9(Ljava/lang/ClassLoader;)Ljava/security/PrivilegedAction;
> ? @ A B java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; $ D E F next ()Ljava/lang/Object; H #java/util/ServiceConfigurationError J java/lang/StringBuilder
I M *A service provider failed to instantiate:
I O P Q append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
G S T U
getMessage ()Ljava/lang/String;
I W X U toString
Z [ \ ] ^ org/slf4j/helpers/Reporter error (Ljava/lang/String;)V
` a java/lang/Object c d e INITIALIZATION_STATE I
g h bind
j k versionSanityCheck
m n o findServiceProviders ()Ljava/util/List;
q r s reportMultipleBindingAmbiguity (Ljava/util/List;)V u v ( isEmpty x y z get (I)Ljava/lang/Object; | } ~ PROVIDER $Lorg/slf4j/spi/SLF4JServiceProvider; 3 ? ?
initialize
? ? s reportActualBinding ? No SLF4J providers were found.
Z ? ? ^ warn ? 6Defaulting to no-operation (NOP) logger implementation ? ESee https://www.slf4j.org/codes.html#noProviders for further details.
? ? ? %findPossibleStaticLoggerBinderPathSet ()Ljava/util/Set;
? ? ? reportIgnoredStaticLoggerBinders (Ljava/util/Set;)V
? ? postBindCleanUp ? java/lang/Exception
? ? ?
failedBinding (Ljava/lang/Throwable;)V ? java/lang/IllegalStateException ? !Unexpected initialization failure
? ? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ? slf4j.provider
. ? ? ? getProperty &(Ljava/lang/String;)Ljava/lang/String;
? u ? java/lang/String ? CAttempting to load provider "%s" specified via "%s" system property
? ? ? ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
Z ? ? ^ info
? ? ? ? ? java/lang/ClassLoader loadClass %(Ljava/lang/String;)Ljava/lang/Class;
? ? ? getConstructor 3([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
? ? ? ? ? java/lang/reflect/Constructor newInstance '([Ljava/lang/Object;)Ljava/lang/Object; ? java/lang/ClassNotFoundException ? java/lang/NoSuchMethodException ? java/lang/InstantiationException ? java/lang/IllegalAccessException ? +java/lang/reflect/InvocationTargetException ? =Failed to instantiate the specified SLF4JServiceProvider (%s)
Z ? ] ? ? java/lang/ClassCastException ? USpecified SLF4JServiceProvider (%s) does not implement SLF4JServiceProvider interface ? u ?
java/util/Set ? QClass path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier. ? ? java/net/URL ? Ignoring binding found at [
I ? P ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ] ? HSee https://www.slf4j.org/codes.html#ignoredBindings for an explanation. ? java/util/LinkedHashSet
? ? 'org/slf4j/impl/StaticLoggerBinder.class
? ? ? ? getSystemResources +(Ljava/lang/String;)Ljava/util/Enumeration;
? ? ? ? getResources ? ? ? ? ( java/util/Enumeration hasMoreElements ? ? ? F nextElement ? java/io/IOException !Error getting resources from path
fixSubstituteLoggers
replayEvents
SUBST_PROVIDER -Lorg/slf4j/helpers/SubstituteServiceProvider;
+org/slf4j/helpers/SubstituteServiceProvider getSubstituteLoggerFactory -()Lorg/slf4j/helpers/SubstituteLoggerFactory;
)org/slf4j/helpers/SubstituteLoggerFactory clear
postInitialization
o
getLoggers ! "org/slf4j/helpers/SubstituteLogger
#$ U getName
&'( getLogger &(Ljava/lang/String;)Lorg/slf4j/Logger;
*+, setDelegate (Lorg/slf4j/Logger;)V. )Failed to instantiate SLF4J LoggerFactory
012
getEventQueue ,()Ljava/util/concurrent/LinkedBlockingQueue;
45678 (java/util/concurrent/LinkedBlockingQueue size ()I
: ; (I)V
4=>? drainTo (Ljava/util/Collection;I)IA &org/slf4j/event/SubstituteLoggingEvent
CDE replaySingleEvent +(Lorg/slf4j/event/SubstituteLoggingEvent;)V
GHI emitReplayOrSubstituionWarning ,(Lorg/slf4j/event/SubstituteLoggingEvent;I)V
@L'M &()Lorg/slf4j/helpers/SubstituteLogger;
OP ( isDelegateEventAware
RS; emitReplayWarning
UV (
isDelegateNOP
XY emitSubstitutionWarning
[\ ( isDelegateNull^ -Delegate logger cannot be null at this state.
?` ^
@bcd getLevel ()Lorg/slf4j/event/Level;
fgh isEnabledForLevel (Lorg/slf4j/event/Level;)Z
jkl log !(Lorg/slf4j/event/LoggingEvent;)Vn >The following set of substitute loggers may have been accessedp :during the initialization phase. Logging calls during thisr Bphase were not honored. However, subsequent logging calls to theset 'loggers will work as normally expected.v :See also https://www.slf4j.org/codes.html#substituteLoggerx
A number (
Iz P{ (I)Ljava/lang/StringBuilder;} P) of logging calls during the initialization phase have been intercepted and are ^now being replayed. These are subject to the filtering rules of the underlying logging system.? 0See also https://www.slf4j.org/codes.html#replay 3?? U getRequestedApiVersion ??? API_COMPATIBILITY_LIST [Ljava/lang/String;
????
startsWith (Ljava/lang/String;)Z? The requested version ? / by your slf4j provider is not compatible with
????? java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; W? JSee https://www.slf4j.org/codes.html#version_mismatch for further details.? java/lang/Throwable? 7Unexpected problem occurred during version sanity check 5
??? isAmbiguousProviderList (Ljava/util/List;)Z? -Class path contains multiple SLF4J providers.? Found provider [? JSee https://www.slf4j.org/codes.html#multiple_bindings for an explanation.? LNo providers were found which is impossible after successful initialization.? Actual provider is of type [? !Connected with provider of type [ 3??? getClass ()Ljava/lang/Class;
#
Z?? ^ debug
??? getILoggerFactory ()Lorg/slf4j/ILoggerFactory;?&? org/slf4j/ILoggerFactory ??? DETECT_LOGGER_NAME_MISMATCH Z
????? org/slf4j/helpers/Util getCallingClass
??? nonMatchingClasses %(Ljava/lang/Class;Ljava/lang/Class;)Z? EDetected logger name mismatch. Given name: "%s"; computed name: "%s".?#? org/slf4j/Logger? JSee https://www.slf4j.org/codes.html#loggerNameMismatch for an explanation
??? isAssignableFrom (Ljava/lang/Class;)Z
??? getProvider &()Lorg/slf4j/spi/SLF4JServiceProvider; 3??? getLoggerFactory
?? performInitialization ??? NOP_FALLBACK_SERVICE_PROVIDER /Lorg/slf4j/helpers/NOP_FallbackServiceProvider;? ?org.slf4j.LoggerFactory in failed state. Original exception was thrown EARLIER. See also https://www.slf4j.org/codes.html#unsuccessfulInit? Unreachable code
? -org/slf4j/helpers/NOP_FallbackServiceProvider
? ? slf4j.detectLoggerNameMismatch
???? safeGetBooleanSystemProperty? 2.0 CODES_PREFIX Ljava/lang/String;
ConstantValue? https://www.slf4j.org/codes.html NO_PROVIDERS_URL? ,https://www.slf4j.org/codes.html#noProviders IGNORED_BINDINGS_URL? 0https://www.slf4j.org/codes.html#ignoredBindings MULTIPLE_BINDINGS_URL 2https://www.slf4j.org/codes.html#multiple_bindings VERSION_MISMATCH 1https://www.slf4j.org/codes.html#version_mismatch SUBSTITUTE_LOGGER_URL 1https://www.slf4j.org/codes.html#substituteLogger LOGGER_NAME_MISMATCH_URL 3https://www.slf4j.org/codes.html#loggerNameMismatch
REPLAY_URL 'https://www.slf4j.org/codes.html#replay UNSUCCESSFUL_INIT_URL 1https://www.slf4j.org/codes.html#unsuccessfulInit UNSUCCESSFUL_INIT_MSG CONNECTED_WITH_MSG PROVIDER_PROPERTY_KEY
UNINITIALIZED ONGOING_INITIALIZATION FAILED_INITIALIZATION SUCCESSFUL_INITIALIZATION NOP_FALLBACK_INITIALIZATION $DETECT_LOGGER_NAME_MISMATCH_PROPERTY JAVA_VENDOR_PROPERTY java.vendor.url STATIC_LOGGER_BINDER_PATH Code LineNumberTable LocalVariableTable providerList Ljava/util/List; classLoaderOfLoggerFactory Ljava/lang/ClassLoader; explicitProvider
serviceLoader Ljava/util/ServiceLoader; Ljava/util/Iterator; LocalVariableTypeTable 6Ljava/util/List; ?Ljava/util/ServiceLoader; :Ljava/util/Iterator;
StackMapTable Signature 8()Ljava/util/List; action Ljava/security/PrivilegedAction; securityManager Ljava/lang/SecurityManager; aLjava/security/PrivilegedAction;>;: java/lang/SecurityManager X(Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader; provider e %Ljava/util/ServiceConfigurationError; s(Ljava/util/List;Ljava/util/Iterator;)V this Lorg/slf4j/LoggerFactory; reset staticLoggerBinderPathSet Ljava/util/Set;
providersList Ljava/lang/Exception; Ljava/util/Set; message clazz Ljava/lang/Class; constructor Ljava/lang/reflect/Constructor; Ljava/lang/Object; (Ljava/lang/ReflectiveOperationException; Ljava/lang/ClassCastException; classLoader explicitlySpecified Ljava/lang/Class<*>; "Ljava/lang/reflect/Constructor<*>;U &java/lang/ReflectiveOperationException path Ljava/net/URL; "(Ljava/util/Set;)V paths Ljava/util/Enumeration; loggerFactoryClassLoader ioe Ljava/io/IOException; 'Ljava/util/Enumeration; !()Ljava/util/Set; logger Lorg/slf4j/Logger; substLogger $Lorg/slf4j/helpers/SubstituteLogger; t Ljava/lang/Throwable; event (Lorg/slf4j/event/SubstituteLoggingEvent;
numDrained queue *Ljava/util/concurrent/LinkedBlockingQueue; queueSize count maxDrain eventList TLjava/util/concurrent/LinkedBlockingQueue; :Ljava/util/List;
loggerName
eventCount aAPI_COMPATIBILITY_LIST requested match? 9(Ljava/util/List;)Z 9(Ljava/util/List;)V name iLoggerFactory Lorg/slf4j/ILoggerFactory; %(Ljava/lang/Class;)Lorg/slf4j/Logger; autoComputedCallingClass ((Ljava/lang/Class<*>;)Lorg/slf4j/Logger; +(Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z lambda$getServiceLoader$0
SourceFile LoggerFactory.java BootstrapMethods F?
?? ? ()Ljava/util/ServiceLoader;?
????? "java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; InnerClasses? %java/lang/invoke/MethodHandles$Lookup? java/lang/invoke/MethodHandles Lookup 1 ` ?? ? ? ?? ? ? ?? ? ? ?? ? ? ? ? ? ? ? ?
? ?
? ? ? ? ? ? ? ? ? ? ? e ? e ? e ? e ? e ? H d e
?? ? ? ? ? ? ?? H } ~ ?? !? ? ? n o " ? A? Y? K? L+? M,?
*,? W*?+? N-? :? # ? *? )???*? # . t x z { | } ! ? &