Click or drag to resize

Logger Class

The class provides all necessary log operations.
Inheritance Hierarchy
SystemObject
  Atalasoft.Shared.DiagnosticsLoggerBase
    Atalasoft.Shared.DiagnosticsLogger

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

The Logger type exposes the following members.

Properties
  NameDescription
Public propertySource
Gets trace source that is used to write messages to.
(Inherited from LoggerBase.)
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 methodStatic memberGetAssemblyLogger
Fabric method that returns new instance of the logger initialized with calling assembly name.
Public methodStatic memberGetAssemblyLogger(String)
TODO
Public methodStatic memberGetAssemblyLoggerT
Fabric method that returns new instance of the logger initialized with assembly name of the specified type.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsLogged (Inherited from LoggerBase.)
Public methodLogAssemblyInformation
Logs basic information about calling assembly, such as full name and file version.
Public methodLogError(String)
Writes an error message to the log using specified message.
(Inherited from LoggerBase.)
Public methodLogError(String, Object)
Writes an error message to the log using the specified array of objects and formatting information.
(Inherited from LoggerBase.)
Public methodLogInfo(String)
Writes an informational message to the log using specified message.
(Inherited from LoggerBase.)
Public methodLogInfo(String, Object)
Writes an informational message to the log using the specified array of objects and formatting information.
(Inherited from LoggerBase.)
Protected methodLogMessage(TraceEventType, String)
Writes message of specified type to the log using specified message.
(Inherited from LoggerBase.)
Protected methodLogMessage(TraceEventType, String, Object)
Writes message of specified type to the log using the specified array of objects and formatting information.
(Inherited from LoggerBase.)
Public methodLogVerbose(String)
Writes a verbose message to the log using specified message.
(Inherited from LoggerBase.)
Public methodLogVerbose(String, Object)
Writes a verbose message to the log using the specified array of objects and formatting information.
(Inherited from LoggerBase.)
Public methodLogWarning(String)
Writes a warning message to the log using specified message.
(Inherited from LoggerBase.)
Public methodLogWarning(String, Object)
Writes a warning message to the log using the specified array of objects and formatting information.
(Inherited from LoggerBase.)
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.
(Inherited from LoggerBase.)
Public methodCode exampleStartNewActivity(String, Object)
Convenient method that returns new activity scope with specified name.
(Inherited from LoggerBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also