Logging Class

Logging variables and functions for DB Addin

Inheritance Hierarchy

Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

public sealed class Logging

The Logging type exposes the following members.

Constructors

ClassSummary
private constructorLogging()

Methods

NameSummary
public methodLogError(String)
Logs error messages
public methodLogInfo(String)
Logs informational messages
public methodLogWarn(String)
Logs warning messages
public methodQuestionMsg(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)
public methodUserMsg(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)
private methodWriteToLog(String, TraceEventType, String)
Logs Message of eEventType to System.Diagnostics.Trace

Fields

NameDescription
public fieldDebugAddin
Debug the Addin: write trace messages
public fieldnonInteractive
for DBMapper invocations by execDBModif, this is set to true, avoiding MsgBox
public fieldnonInteractiveErrMsgs
collect non interactive error messages here
public fieldtheLogDisplaySource
the LogDisplay (Diagnostic Display) log source
public fieldtheLogFileSource
the Text-file log source
public fieldWarningIssued
set to true if warning was issued, this flag indicates that the log button should get an exclamation sign