Click or drag to resize
LogProvider Class
Base class for all logging provider implementations.
Inheritance Hierarchy

Namespace: FM.IceLink
Assembly: FM.IceLink (in FM.IceLink.dll) Version: 3.0.3.0 (3.0.3.0)

The LogProvider type exposes the following members.

Constructors
  NameDescription
Public methodLogProvider
Initializes a new instance of the LogProvider class.
Top
Properties
  NameDescription
Public propertyIsDebugEnabled
Gets or sets a value indicating whether logging is enabled for debug-level messages.
Public propertyIsErrorEnabled
Gets or sets a value indicating whether logging is enabled for error-level messages.
Public propertyIsFatalEnabled
Gets or sets a value indicating whether logging is enabled for fatal-level messages.
Public propertyIsInfoEnabled
Gets or sets a value indicating whether logging is enabled for info-level messages.
Public propertyIsWarnEnabled
Gets or sets a value indicating whether logging is enabled for warn-level messages.
Public propertyLevel
Gets or sets the log level.
Top
Methods
  NameDescription
Public methodDebug(String)
Logs a debug-level message.
Public methodDebug(String, Exception)
Logs a debug-level message.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodError(String)
Logs an error-level message.
Public methodError(String, Exception)
Logs an error-level message.
Public methodFatal(String)
Logs a fatal-level message.
Public methodFatal(String, Exception)
Logs a fatal-level message.
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 methodStatic memberGetPrefix(LogLevel)
Converts a log-level to a 5-character string for consistently-spaced character sequences.
Public methodStatic memberGetPrefix(LogLevel, Boolean)
Converts a log-level to a 5-character string for consistently-spaced character sequences.
Public methodStatic memberGetPrefixTimestamp
Converts a timestamp to a string formatted for rendering in a log message (yyyy/MM/dd-hh:mm:ss).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInfo(String)
Logs an info-level message.
Public methodInfo(String, Exception)
Logs an info-level message.
Protected methodIsEnabled
Determines whether logging is enabled for the specified log level.
Protected methodLog(LogLevel, String)
Logs a message at the specified log level.
Protected methodLog(LogLevel, String, Exception)
Logs a message at the specified log level.
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 methodWarn(String)
Logs a warn-level message.
Public methodWarn(String, Exception)
Logs a warn-level message.
Public methodWriteLine
Writes a line of text to the log.
Top
See Also