Commit 91c75be6 authored by Sascha Niklas Schneiders's avatar Sascha Niklas Schneiders
Browse files

overwrite logger

parent 03bd729d
package de.monticore.lang.embeddedmontiarc;
import de.se_rwth.commons.logging.Log;
/**
* @author Sascha Schneiders
*/
public class LogConfig extends Log {
static Log log;
boolean disableOutput = true;
static {
log = new LogConfig();
Log.setLog(log);
}
@Override
protected void doInfo(String msg, Throwable t, String logName) {
if (!disableOutput) {
super.doInfo(msg, t, logName);
}
}
@Override
protected void doInfo(String msg, String logName) {
if (!disableOutput) {
super.doInfo(msg, logName);
}
}
@Override
protected void doDebug(String msg, Throwable t, String logName) {
if (!disableOutput) {
super.doDebug(msg, t, logName);
}
}
@Override
protected void doDebug(String msg, String logName) {
if (!disableOutput) {
super.doDebug(msg, logName);
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment