C# Class HFMCmd.LogOutput

Sends output to the log.
Inheritance: FixedWidthOutput
Mostra file Open project: agardiner/hfmcmd

Public Properties

Property Type Description
MAX_LOG_INTERVAL int
MIN_LOG_INTERVAL int
MIN_PROGRESS_INCREMENT int

Protected Properties

Property Type Description
_lastLog System.DateTime
_log log4net.ILog

Public Methods

Method Description
End ( bool suppress ) : void
InitProgress ( string operation, int iterations, int total ) : void
IterationComplete ( ) : bool
LogOutput ( ) : System
SetHeader ( ) : void
SetProgress ( int progress ) : bool
WriteLine ( string format ) : void
WriteRecord ( ) : void

Protected Methods

Method Description
UpdateCompletion ( int lastPct ) : void

Method Details

End() public method

public End ( bool suppress ) : void
suppress bool
return void

InitProgress() public method

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
return void

IterationComplete() public method

public IterationComplete ( ) : bool
return bool

LogOutput() public method

public LogOutput ( ) : System
return System

SetHeader() public method

public SetHeader ( ) : void
return void

SetProgress() public method

public SetProgress ( int progress ) : bool
progress int
return bool

UpdateCompletion() protected method

protected UpdateCompletion ( int lastPct ) : void
lastPct int
return void

WriteLine() public method

public WriteLine ( string format ) : void
format string
return void

WriteRecord() public method

public WriteRecord ( ) : void
return void

Property Details

MAX_LOG_INTERVAL public_oe static_oe property

public static int MAX_LOG_INTERVAL
return int

MIN_LOG_INTERVAL public_oe static_oe property

public static int MIN_LOG_INTERVAL
return int

MIN_PROGRESS_INCREMENT public_oe static_oe property

public static int MIN_PROGRESS_INCREMENT
return int

_lastLog protected_oe property

protected DateTime,System _lastLog
return System.DateTime

_log protected_oe static_oe property

protected static ILog,log4net _log
return log4net.ILog