C# Class CiapiNewsTest.MyLogger

Inheritance: AbstractSimpleLogger
Show file Open project: cityindex-attic/CIAPI.Samples Class Usage Examples

Public Properties

Property Type Description
OnMessage Action

Public Methods

Method Description
MyLogger ( string logName, LogLevel logLevel, bool showlevel, bool showDateTime, bool showLogName, string dateTimeFormat ) : System

Protected Methods

Method Description
WriteInternal ( LogLevel level, object message, Exception exception ) : void

Method Details

MyLogger() public method

public MyLogger ( string logName, LogLevel logLevel, bool showlevel, bool showDateTime, bool showLogName, string dateTimeFormat ) : System
logName string
logLevel LogLevel
showlevel bool
showDateTime bool
showLogName bool
dateTimeFormat string
return System

WriteInternal() protected method

protected WriteInternal ( LogLevel level, object message, Exception exception ) : void
level LogLevel
message object
exception System.Exception
return void

Property Details

OnMessage public property

public Action OnMessage
return Action