Click or drag to resize

LoggerBase Class

The class provides all necessary log operations.
Inheritance Hierarchy

Namespace:  Atalasoft.Shared.Diagnostics
Assembly:  Atalasoft.Shared (in Atalasoft.Shared.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public abstract class LoggerBase

The LoggerBase type exposes the following members.

Constructors
  NameDescription
Protected methodLoggerBase
Initializes a new instance of the LoggerBase class.
Top
Properties
  NameDescription
Public propertySource
Gets trace source that is used to write messages to.
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 the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogError(String)
Writes an error message to the log using specified message.
Public methodLogError(String, Object)
Writes an error message to the log using the specified array of objects and formatting information.
Public methodLogInfo(String)
Writes an informational message to the log using specified message.
Public methodLogInfo(String, Object)
Writes an informational message to the log using the specified array of objects and formatting information.
Protected methodLogMessage(TraceEventType, String)
Writes message of specified type to the log using specified message.
Protected methodLogMessage(TraceEventType, String, Object)
Writes message of specified type to the log using the specified array of objects and formatting information.
Public methodLogVerbose(String)
Writes a verbose message to the log using specified message.
Public methodLogVerbose(String, Object)
Writes a verbose message to the log using the specified array of objects and formatting information.
Public methodLogWarning(String)
Writes a warning message to the log using specified message.
Public methodLogWarning(String, Object)
Writes a warning message to the log using the specified array of objects and formatting information.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleStartNewActivity(String)
Convenient method that returns new activity scope with specified name.
Public methodCode exampleStartNewActivity(String, Object)
Convenient method that returns new activity scope with specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also