All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.plugin.common.GlowMavenMessageWriter Maven / Gradle / Ivy

Go to download

A maven plugin that allows various management operations to be executed on WildFly Application Server.

There is a newer version: 5.1.1.Final
Show newest version
/*
 * 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