C# Class TI.Toolbox.Logging

Afficher le fichier Open project: x893/BTool

Méthodes publiques

Méthode Description
CheckLogging ( MsgType msgType ) : bool
Close ( ) : bool
GetCommandLineMode ( ) : bool
GetConsoleLogging ( ) : bool
GetConsoleMsgLevel ( ) : MsgType
GetFileLogging ( ) : bool
GetFileMsgLevel ( ) : MsgType
GetHighResTime ( ) : bool
GetMsgTypeStr ( MsgType msgType ) : string
GetUseMsgBox ( ) : bool
SetCommandLineMode ( bool commandLineMode ) : bool
SetConsoleLogging ( bool useConsole ) : bool
SetConsoleMsgLevel ( MsgType newMsgLevel ) : bool
SetFileLogging ( bool fileLogging ) : void
SetFileMsgLevel ( MsgType newMsgLevel ) : bool
SetHighResTime ( bool useHighRes ) : bool
SetLogFileMaxLength ( long maxLength ) : bool
SetPathAndLogFileName ( string location ) : bool
SetUseMsgBox ( bool useMBox ) : bool
Write ( MsgType msgType, string extraInfo, string format ) : bool

Private Methods

Méthode Description
EraseFileLog ( ) : bool
Logging ( ) : System
Open ( ) : bool
UpdateFileLog ( string newMessage ) : bool
UpdatePositionLog ( long dataLength ) : bool

Method Details

CheckLogging() public méthode

public CheckLogging ( MsgType msgType ) : bool
msgType MsgType
Résultat bool

Close() public méthode

public Close ( ) : bool
Résultat bool

GetCommandLineMode() public méthode

public GetCommandLineMode ( ) : bool
Résultat bool

GetConsoleLogging() public méthode

public GetConsoleLogging ( ) : bool
Résultat bool

GetConsoleMsgLevel() public méthode

public GetConsoleMsgLevel ( ) : MsgType
Résultat MsgType

GetFileLogging() public méthode

public GetFileLogging ( ) : bool
Résultat bool

GetFileMsgLevel() public méthode

public GetFileMsgLevel ( ) : MsgType
Résultat MsgType

GetHighResTime() public méthode

public GetHighResTime ( ) : bool
Résultat bool

GetMsgTypeStr() public méthode

public GetMsgTypeStr ( MsgType msgType ) : string
msgType MsgType
Résultat string

GetUseMsgBox() public méthode

public GetUseMsgBox ( ) : bool
Résultat bool

SetCommandLineMode() public méthode

public SetCommandLineMode ( bool commandLineMode ) : bool
commandLineMode bool
Résultat bool

SetConsoleLogging() public méthode

public SetConsoleLogging ( bool useConsole ) : bool
useConsole bool
Résultat bool

SetConsoleMsgLevel() public méthode

public SetConsoleMsgLevel ( MsgType newMsgLevel ) : bool
newMsgLevel MsgType
Résultat bool

SetFileLogging() public méthode

public SetFileLogging ( bool fileLogging ) : void
fileLogging bool
Résultat void

SetFileMsgLevel() public méthode

public SetFileMsgLevel ( MsgType newMsgLevel ) : bool
newMsgLevel MsgType
Résultat bool

SetHighResTime() public méthode

public SetHighResTime ( bool useHighRes ) : bool
useHighRes bool
Résultat bool

SetLogFileMaxLength() public méthode

public SetLogFileMaxLength ( long maxLength ) : bool
maxLength long
Résultat bool

SetPathAndLogFileName() public méthode

public SetPathAndLogFileName ( string location ) : bool
location string
Résultat bool

SetUseMsgBox() public méthode

public SetUseMsgBox ( bool useMBox ) : bool
useMBox bool
Résultat bool

Write() public méthode

public Write ( MsgType msgType, string extraInfo, string format ) : bool
msgType MsgType
extraInfo string
format string
Résultat bool