Click or drag to resize

MessageLogger Class

log messages and cut them off if too long.
Inheritance Hierarchy
SystemObject
  Karamba.UtilitiesMessageLogger

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public class MessageLogger

The MessageLogger type exposes the following members.

Constructors
  NameDescription
Public methodMessageLogger
Initializes a new instance of the MessageLogger class. create a new default message logger.
Top
Methods
  NameDescription
Public methodadd(String)
add a line to the logger.
Public methodadd(MessageLogger)
add the messages of another message-logger.
Public methodadd(ListInt32, String, String)
add a message starting with an enumeration of integers, ending with a message given either in singular or plural depending on the number of integers.
Public methodaddInSameLine
add a string to the last line of the logger.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methoderrorLevel
Get the error flag.
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 methodhasMessage
true in case the logger holds a message.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodmessage
the complete message of the logger.
Public methodsetErrorLevel
set the error flag to true.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also