Logging Class
Logging variables and functions for DB Addin
Inheritance Hierarchy
- System.Object
- DBaddin.Logging
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
public sealed class Logging
The Logging type exposes the following members.
Constructors
Class | Summary | |
---|---|---|
![]() | Logging() |
Methods
Name | Summary | |
---|---|---|
![]() | LogError(String) | Logs error messages |
![]() | LogInfo(String) | Logs informational messages |
![]() | LogWarn(String) | Logs warning messages |
![]() | QuestionMsg(String, MsgBoxStyle, String, MsgBoxStyle) | ask User (default OKCancel) and log as warning if Critical Or Exclamation (logged errors would pop up the trace information window) |
![]() | UserMsg(String, String, MsgBoxStyle) | show message to User (default Error message) and log as warning if Critical Or Exclamation (logged errors would pop up the trace information window) |
![]() | WriteToLog(String, TraceEventType, String) | Logs Message of eEventType to System.Diagnostics.Trace |
Fields
Name | Description | |
---|---|---|
![]() | DebugAddin | Debug the Addin: write trace messages |
![]() | nonInteractive | for DBMapper invocations by execDBModif, this is set to true, avoiding MsgBox |
![]() | nonInteractiveErrMsgs | collect non interactive error messages here |
![]() | theLogDisplaySource | the LogDisplay (Diagnostic Display) log source |
![]() | theLogFileSource | the Text-file log source |
![]() | WarningIssued | set to true if warning was issued, this flag indicates that the log button should get an exclamation sign |