public class MuleLoggerContextFactory extends Object
Constructor and Description |
---|
MuleLoggerContextFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.logging.log4j.core.LoggerContext |
build(ClassLoader classLoader,
org.mule.module.launcher.log4j2.ArtifactAwareContextSelector selector)
Builds a new
LoggerContext for the given classLoader and selector |
ApplicationDescriptor |
fetchApplicationDescriptor(ArtifactClassLoader muleCL) |
public org.apache.logging.log4j.core.LoggerContext build(ClassLoader classLoader, org.mule.module.launcher.log4j2.ArtifactAwareContextSelector selector)
LoggerContext
for the given classLoader
and selector
classLoader
- the classloader of the artifact this logger context is for.selector
- the selector to bew used when building the loggers for the new context.public ApplicationDescriptor fetchApplicationDescriptor(ArtifactClassLoader muleCL) throws IOException
IOException
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.