C# Class Site.Infrastructure.Logging.EventLogLogger

Inheritance: ILogger
显示文件 Open project: dancoppock/MVC3-Starter-Site

Public Methods

Method Description
Debug ( string message ) : void
Error ( Exception x ) : void
Error ( string message ) : void
Fatal ( Exception x ) : void
Fatal ( string message ) : void
Info ( string message ) : void
Warn ( string message ) : void
WriteToEventLog ( string message, EventLogEntryType logType ) : void

Method Details

Debug() public method

public Debug ( string message ) : void
message string
return void

Error() public method

public Error ( Exception x ) : void
x System.Exception
return void

Error() public method

public Error ( string message ) : void
message string
return void

Fatal() public method

public Fatal ( Exception x ) : void
x System.Exception
return void

Fatal() public method

public Fatal ( string message ) : void
message string
return void

Info() public method

public Info ( string message ) : void
message string
return void

Warn() public method

public Warn ( string message ) : void
message string
return void

WriteToEventLog() public method

public WriteToEventLog ( string message, EventLogEntryType logType ) : void
message string
logType EventLogEntryType
return void