Click or drag to resize
Logger Class
This class is used to implement logging in some IMSL algorithms. Its design mimics the Java java.util.Logging class, but is simpler, meeting only the requirements of logging intermediate results and notes from IMSL classes.
Inheritance Hierarchy
SystemObject
  ImslLogger

Namespace: Imsl
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
[SerializableAttribute]
public class Logger

The Logger type exposes the following members.

Constructors
  NameDescription
Public methodLogger
Create a new Logger object using the default TextWriter (System.Console.Out) and the default level (Level.Fine)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLog(LoggerLevel, String, String, String)
Log a message.
Public methodLog(LoggerLevel, String, String, String, Object)
Log a message with parameters.
Public methodLog(LoggerLevel, String, String, String, String, Object)
Log a message with parameters using a resource file.
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.)
Top
Properties
  NameDescription
Public propertyLogLevel
The Logger.Level assocaited with this Logger. The finer grained levels provide more detailed output and are inclusive of the levels before it. Not all levels are implemented for all classes.
Public propertyWriter
The TextWriter associated with this Logger instance. The default is System.Console.Out.
Top
See Also