FileDocCategorySizeDatePackage
LogStream.javaAPI DocJCIFS 1.3.17 API1729Tue Oct 18 15:26:24 BST 2011jcifs.util

LogStream

public class LogStream extends PrintStream
0 - nothing 1 - critical [default] 2 - basic info can be logged under load 3 - almost everything N - debugging

Fields Summary
private static LogStream
inst
public static int
level
Constructors Summary
public LogStream(PrintStream stream)


         
        super( stream );
    
Methods Summary
public static jcifs.util.LogStreamgetInstance()

        if( inst == null ) {
            setInstance( System.err );
        }
        return inst;
    
public static voidsetInstance(java.io.PrintStream stream)
This must be called before getInstance is called or it will have no effect.

        inst = new LogStream( stream );
    
public static voidsetLevel(int level)

        LogStream.level = level;