Java Code Examples for org.jboss.logging.Logger#getMessageLogger()
The following examples show how to use
org.jboss.logging.Logger#getMessageLogger() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ManagedProcess.java From wildfly-core with GNU Lesser General Public License v2.1 | 6 votes |
ManagedProcess(final String processName, final int id, final List<String> command, final Map<String, String> env, final String workingDirectory, final Object lock, final ProcessController controller, final String authKey, final boolean privileged, final boolean respawn) { Assert.checkNotNullParam("processName", processName); Assert.checkNotNullParam("command", command); Assert.checkNotNullParam("env", env); Assert.checkNotNullParam("workingDirectory", workingDirectory); Assert.checkNotNullParam("lock", lock); Assert.checkNotNullParam("controller", controller); Assert.checkNotNullParam("authKey", authKey); if (authKey.length() != ProcessController.AUTH_BYTES_ENCODED_LENGTH) { throw ProcessLogger.ROOT_LOGGER.invalidLength("authKey"); } this.processName = processName; this.id = id; this.command = command; this.env = env; this.workingDirectory = workingDirectory; this.lock = lock; processController = controller; this.authKey = authKey; isPrivileged = privileged; respawnPolicy = respawn ? RespawnPolicy.RESPAWN : RespawnPolicy.NONE; log = Logger.getMessageLogger(ProcessLogger.class, "org.jboss.as.process." + processName + ".status"); }
Example 2
Source File: HEMLogging.java From lams with GNU General Public License v2.0 | 4 votes |
public static EntityManagerMessageLogger messageLogger(String loggerName) { return Logger.getMessageLogger( EntityManagerMessageLogger .class, loggerName ); }
Example 3
Source File: CoreLogging.java From lams with GNU General Public License v2.0 | 4 votes |
public static CoreMessageLogger messageLogger(String loggerName) { return Logger.getMessageLogger( CoreMessageLogger.class, loggerName ); }
Example 4
Source File: JavaAgentLoggers.java From hawkular-agent with Apache License 2.0 | 4 votes |
public static MsgLogger getLogger(Class<?> clazz) { return Logger.getMessageLogger(MsgLogger.class, clazz.getName()); }
Example 5
Source File: DmrApiLoggers.java From hawkular-agent with Apache License 2.0 | 4 votes |
public static MsgLogger getLogger(Class<?> clazz) { return Logger.getMessageLogger(MsgLogger.class, clazz.getName()); }
Example 6
Source File: AgentLoggers.java From hawkular-agent with Apache License 2.0 | 4 votes |
public static MsgLogger getLogger(Class<?> clazz) { return Logger.getMessageLogger(MsgLogger.class, clazz.getName()); }
Example 7
Source File: RestLogging.java From hawkular-metrics with Apache License 2.0 | 4 votes |
public static RestLogger getRestLogger(Class<?> clazz) { return Logger.getMessageLogger(RestLogger.class, clazz.getName()); }
Example 8
Source File: CoreLogging.java From hawkular-metrics with Apache License 2.0 | 4 votes |
public static CoreLogger getCoreLogger(Class<?> clazz) { return Logger.getMessageLogger(CoreLogger.class, clazz.getName()); }
Example 9
Source File: TransformersLogger.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
private TransformersLogger(TransformationTarget target) { this.target = target; logger = Logger.getMessageLogger(ControllerLogger.class, "org.jboss.as.controller.transformer." + target.getHostName()); }