C# Class SharpCifs.Util.LogStream

0 - nothing 1 - critical [default] 2 - basic info can be logged under load 3 - almost everything N - debugging
Inheritance: SharpCifs.Util.Sharpen.PrintWriter
Mostra file Open project: brandonprry/Potato Class Usage Examples

Public Properties

Property Type Description
Level int

Public Methods

Method Description
GetInstance ( ) : LogStream
LogStream ( TextWriter other ) : System
SetInstance ( TextWriter other ) : void

This must be called before getInstance is called or it will have no effect.

This must be called before getInstance is called or it will have no effect.

SetLevel ( int level ) : void

Method Details

GetInstance() public static method

public static GetInstance ( ) : LogStream
return LogStream

LogStream() public method

public LogStream ( TextWriter other ) : System
other System.IO.TextWriter
return System

SetInstance() public static method

This must be called before getInstance is called or it will have no effect.
This must be called before getInstance is called or it will have no effect.
public static SetInstance ( TextWriter other ) : void
other System.IO.TextWriter
return void

SetLevel() public method

public SetLevel ( int level ) : void
level int
return void

Property Details

Level public_oe property

public int Level
return int