Table of Contents

Namespace Dynamicweb.Logging

Classes

LogCategory
Indicates the category of a logging entry.
LoggerBase
Provides base operations for logging useful information, errors and exceptions and is the base class for own implementations of a logging provider. Dynamicweb has a build in logging provider using NLog, see NLogProvider.
LogManager
The log manager takes care of the logging engine and creates a log manager instance if it is missing. Use Current.GetLogger(string) to get a logging instance. Log files are by default stored in /Files/System/Logs/{LogName} folder.
NamespaceDoc
The Dynamicweb.Logging namespace allows developers to store log information to different destinations and implement own loggers. Use Current.GetLogger(string) to get a logging instance. Log files are by default stored in /Files/System/Logs/{LogName} folder.
ObjectToString
Provides automatic printing of public properties of objects Usable in easy implementation of ToString method

Interfaces

ILogger
Defines operations for logging providers, errors and exceptions. Implmented by the LoggerBase which is the class that should be inherited to create a custom logging engine.
ILoggerProvider
Defines operations for logger providers and implemented by the LogManager.

Enums

LogElements
Indicates the types of system elements to add to the log. Multiple elements can be added by 'element1 OR element2 OR ... OR elementN'
LogLevel
Indicates the severeness of a logging entry.
To top