C# Class IFEOGlobal.Log

Show file Open project: zsxsoft/IFEOManage

Public Methods

Method Description
MessageBoxError ( string StringText ) : MessageBoxResult

Warnings the specified string text.

Write ( string StringText, bool DisplayInConsole = false ) : void

Writes log.

WriteLine ( string StringText, bool DisplayInConsole = false ) : void

Writes log with Lf.

Private Methods

Method Description
WriteToFile ( string StringText ) : void

Writes to file.

Method Details

MessageBoxError() public static method

Warnings the specified string text.
public static MessageBoxError ( string StringText ) : MessageBoxResult
StringText string The string text.
return MessageBoxResult

Write() public static method

Writes log.
public static Write ( string StringText, bool DisplayInConsole = false ) : void
StringText string The string text.
DisplayInConsole bool if set to true [display in console].
return void

WriteLine() public static method

Writes log with Lf.
public static WriteLine ( string StringText, bool DisplayInConsole = false ) : void
StringText string The string text.
DisplayInConsole bool if set to true [display in console].
return void