Suoranta.EnterpriseLib.Web - Developer API

LogService..::..WriteLog Method

Implementation of saving log entries

Namespace:  Suoranta.EnterpriseLib.Logging
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


protected virtual void WriteLog(
	LogLevel entryType,
	string message,
	Nullable<LogEntrySource> source,
	Nullable<Guid> eventId,
	Nullable<ConsoleColor> color
)

Parameters

entryType
Type: LogLevel
message
Type: String
source
Type: Nullable<(Of <(<'LogEntrySource>)>)>
eventId
Type: Nullable<(Of <(<'Guid>)>)>
color
Type: Nullable<(Of <(<'ConsoleColor>)>)>
Foreground color for System.Console output. Otherwise has no effect.