Unwritten - Independent logging library

UnwrittenLogfileManager Members

UnwrittenLogfileManager overview

Public Static (Shared) Methods

GetInstance Get an instance of this management class (Singleton object)

Internal Static (Shared) Fields

classInstance This internal variable is used to handle the singleton instance from the UnwrittenLogfileManager class.

Public Instance Properties

DefaultLoggingType Get or set the default logging type which is used if a new UnwrittenLogfile instance will be created.
ManagedFiles Get the count of all managed logfiles.
PrintLoggingType Get or set if the logfiles should print the logging type in front of each messsage.
PrintTimestamp Get or set if the logfiles should print a timestamp in front of each messsage.

Public Instance Methods

CloseLogfileOverloaded. Close a specific logfile.
Dispose Flush and close all active logfiles.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FlushAllFiles Flush all logfiles.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLogfile Return a previous created UnwrittenLogfile object. If the logfile was not created before, it will be created.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.
WriteToAllFiles Write a logging message to all handled (and open) logfiles.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Private Instance Constructors

UnwrittenLogfileManager Constructor This constructor just create an empty Hashtable instance.

Private Instance Fields

defaultLoggingType The (internal) variable hold the default logging type for all logfiles.
loggingClasses This variable hold all logfiles the user created with this UnwrittenLogfileManager instance.
printLoggingType The (internal) variable hold the boolean value, if the logging type should be printed into the logfiles.
printTimestamp The (internal) variable hold the boolean value, if a timestamp should be printed into the logfiles.

See Also

UnwrittenLogfileManager Class | FuturesNet.IO.Unwritten Namespace