com.yworks.yshrink.util.ConsoleLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yguard Show documentation
Show all versions of yguard Show documentation
The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
package com.yworks.yshrink.util;
/**
* @author Michael Schroeder, yWorks GmbH http://www.yworks.com
*/
public class ConsoleLogger extends Logger {
public ConsoleLogger() {
register();
}
public void doLog( final String s ) {
//System.out.println( s );
}
public void doErr( final String s ) {
System.err.println( s );
}
public void doWarn( final String s ) {
System.out.println( s );
}
public void doWarnToLog( String s ) {
}
public void doShrinkLog( String s ) {
System.out.println( s );
}
public void doErr( String s, Throwable ex ) {
System.out.println( s );
ex.printStackTrace();
}
public void doShrinkLog( String s, ShrinkType type ) {
System.out.println( s );
}
public void close() {
unregister();
}
}