Click or drag to resize
MooshLogger Class
A class that makes it easy to write a log to a file or stream.
Inheritance Hierarchy
SystemObject
  MooshMooshLogger

Namespace: Moosh
Assembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Logger : IDisposable

The MooshLogger type exposes the following members.

Constructors
  NameDescription
Public methodMooshLogger(Stream)
Initializes the logger, with a designated output stream.
Public methodMooshLogger(String, Boolean)
Initializes the logger, with a designated output filename.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the MooshLogger
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError(Exception)
Logs an error to the output stream.
Public methodError(String)
Logs an error to the output stream.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLog
Logs a message to the output stream.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWarning
Warns of alarming circumstances. Logs to output stream.
Public methodWrite
Logs a message to the output stream. Alias for Log.
Top
See Also