LogClass Class

Class for creating and writing an application log file

Definition

Namespace: MbcsUtils
Assembly: MbcsUtils (in MbcsUtils.dll) Version: 1.0.0.0 (1.0.0.0)
VB
Public Class LogClass

Dim instance As LogClass
Inheritance
Object    LogClass

Constructors

LogClassInitializes a new instance of the LogClass class
LogClass(String, Boolean, String) Constructor

Properties

AzureConnectionKey 
Client 
debug Sets or resets debug mode
EventLog 
EventSource 
logFileName Full path of logfile
logFileRef Internal log file reference
maxFrames Sets maximum number of stack frames to include in debu log entries
Username User Name

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Log(Int32, String, Boolean) Writes log entry with no displayed message window
Log(Int32, String, MessageBoxButtons, String, Boolean) Writes log entry and displays message window with specified dialog buttons
Log(Int32, String, Boolean, MsgBoxStyle, String, Boolean) Writes log entry and displays and displays message window with no options
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

instance Used to create a singleton LogClass object
logTypes String represention of LogType entries

See Also