org.wildfly.plugin.common.GlowMavenMessageWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-maven-plugin Show documentation
Show all versions of wildfly-maven-plugin Show documentation
A maven plugin that allows various management operations to be executed on WildFly Application
Server.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.plugin.common;
import org.apache.maven.plugin.logging.Log;
import org.wildfly.glow.GlowMessageWriter;
/**
*
* @author jdenise
*/
public class GlowMavenMessageWriter implements GlowMessageWriter {
private final Log log;
GlowMavenMessageWriter(Log log) {
this.log = log;
}
@Override
public void info(Object s) {
log.info(s.toString());
}
@Override
public void warn(Object s) {
log.warn(s.toString());
}
@Override
public void error(Object s) {
log.error(s.toString());
}
@Override
public void trace(Object s) {
log.debug(s.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy