Class LoggableTask This class contains properties that are needed for logging.
Namespace : ETLBoxAssembly : ETLBox.dllSyntax# public abstract class LoggableTask : ILoggableTask Properties DisableLogging# If set to true, the component or task won't produce any log output.
Declaration public bool? DisableLogging { get ; set ; } Property Value LogInstance# The ILogger instance that is used for logging.
Declaration public ILogger LogInstance { get ; set ; } Property Value LogThreshold# To avoid getting a log message for every row, by default only a log message is generated for each 1000 rows.
Setting this property to a value greater than 0 will change the default value.
The overall log threshold can be overwritten in the Settings class.
Declaration public int? LogThreshold { get ; set ; } Property Value ParentTask# Another loggable that which is the creator of this task.
Declaration public LoggableTask ParentTask { get ; set ; } Property Value TaskHash# Creates a unique hash value to identify the task or component.
Declaration public string TaskHash { get ; set ; } Property Value TaskName# A name to identify the task or component. Every component or task comes
with a default name that can be overwritten.
Declaration public string TaskName { get ; set ; } Property Value TaskType# A type description of the task or component. This is usually the class name.
Declaration public string TaskType { get ; set ; } Property Value Methods LogDebug(string, params object[])#
Declaration protected void LogDebug ( string message , params object [] args ) Parameters LogError(string, params object[])#
Declaration protected void LogError ( string message , params object [] args ) Parameters LogFatal(string, params object[])#
Declaration protected void LogFatal ( string message , params object [] args ) Parameters LogInfo(string, params object[])#
Declaration protected void LogInfo ( string message , params object [] args ) Parameters LogInfoOrDebug(string, params object[])#
Declaration protected void LogInfoOrDebug ( string message , params object [] args ) Parameters LogTrace(string, params object[])#
Declaration protected void LogTrace ( string message , params object [] args ) Parameters LogWarn(string, params object[])#
Declaration protected void LogWarn ( string message , params object [] args ) Parameters Implements#