PocketContext

Logger Methods

The methods of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.

Public Static Methods

GetDateCode Gets the current date in the format YYYYMMDDHHMMSS which can be used in file names
UnixTimestamp Returns the current Unix timestamp (seconds since Jan 1, 1970)

Public Instance Methods

AddXMLTimestampEntry Appends a XML entry tag with a timestamp attribute enclosing other XML data to the log
AppendData Appends some data to the log
Clear Clears the log
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.
WriteLogOverloaded. Writes the log to disk

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.

See Also

Logger Class | PocketContext Namespace