Table of Contents

Interface IJobLogger

Namespace
Tlabs.JobCntrl.Model
Assembly
Tlabs.JobCntrl.dll

Representation of a logging facility.

public interface IJobLogger
Extension Methods

Remarks

A ILogger generates entries in a ILog. Entries are categorized by three levels of severity:

'problem', 'info'(-rmational) and 'detail'. Depending on the current log-level of the ILog an entry gets added to the log or is discarded...

The ProcessStep denotes a group of operations whose log entries are marked with a common processing step name. The ProcessStep property should be changed accordingly when ever a new processing step is started.

Properties

Log

The log into which messages getting added.

ILog Log { get; }

Property Value

ILog

ProcessStep

Denotes a group of operations whose log entries are marked with a common processing step name.

string ProcessStep { get; set; }

Property Value

string

Methods

Detail(string)

Add a detail message to the log.

void Detail(string message)

Parameters

message string

DetailFormat(string, object)

Add a formated detail message to the log.

void DetailFormat(string format, object arg1)

Parameters

format string
arg1 object

DetailFormat(string, object, object)

Add a formated detail message to the log.

void DetailFormat(string format, object arg1, object arg2)

Parameters

format string
arg1 object
arg2 object

DetailFormat(string, params object[])

Add a formated detail message to the log.

void DetailFormat(string format, params object[] args)

Parameters

format string
args object[]

Info(string)

Add a info(-rmational) message to the log.

void Info(string message)

Parameters

message string

InfoFormat(string, object)

Add a formated info(-rmational) message to the log.

void InfoFormat(string format, object arg1)

Parameters

format string
arg1 object

InfoFormat(string, object, object)

Add a formated info(-rmational) message to the log.

void InfoFormat(string format, object arg1, object arg2)

Parameters

format string
arg1 object
arg2 object

InfoFormat(string, params object[])

Add a formated info(-rmational) message to the log.

void InfoFormat(string format, params object[] args)

Parameters

format string
args object[]

Problem(string)

Add a problem message to the log.

void Problem(string message)

Parameters

message string

ProblemFormat(string, object)

Add a formated problem message to the log.

void ProblemFormat(string format, object arg1)

Parameters

format string
arg1 object

ProblemFormat(string, object, object)

Add a formated problem message to the log.

void ProblemFormat(string format, object arg1, object arg2)

Parameters

format string
arg1 object
arg2 object

ProblemFormat(string, params object[])

Add a formated problem message to the log.

void ProblemFormat(string format, params object[] args)

Parameters

format string
args object[]