C# Class OSAE.General.OSAELog

Show file Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
Clear ( ) : void
Debug ( string log ) : void
DebugLogAdd ( string entry ) : void
Error ( string log ) : void
Error ( string log, Exception ex ) : void
EventLogClear ( ) : void

Deletes everything from the event_log table

Fatal ( string log ) : void
Fatal ( string log, Exception ex ) : void
FlushBuffers ( ) : void
Info ( string log ) : void
Load ( bool info, bool debug, bool error, string source ) : DataSet
LoadSources ( ) : DataSet
OSAELog ( string source ) : System
PruneLogs ( ) : void

Private Methods

Method Description
GetTableSize ( string tableName ) : decimal

Method Details

Clear() public static method

public static Clear ( ) : void
return void

Debug() public method

public Debug ( string log ) : void
log string
return void

DebugLogAdd() public method

public DebugLogAdd ( string entry ) : void
entry string
return void

Error() public method

public Error ( string log ) : void
log string
return void

Error() public method

public Error ( string log, Exception ex ) : void
log string
ex System.Exception
return void

EventLogClear() public static method

Deletes everything from the event_log table
public static EventLogClear ( ) : void
return void

Fatal() public method

public Fatal ( string log ) : void
log string
return void

Fatal() public method

public Fatal ( string log, Exception ex ) : void
log string
ex System.Exception
return void

FlushBuffers() public static method

public static FlushBuffers ( ) : void
return void

Info() public method

public Info ( string log ) : void
log string
return void

Load() public static method

public static Load ( bool info, bool debug, bool error, string source ) : DataSet
info bool
debug bool
error bool
source string
return System.Data.DataSet

LoadSources() public static method

public static LoadSources ( ) : DataSet
return System.Data.DataSet

OSAELog() public method

public OSAELog ( string source ) : System
source string
return System

PruneLogs() public method

public PruneLogs ( ) : void
return void