Image Resizer : API Documentation

Type ILogManager

Namespace ImageResizer.Configuration.Logging

Public instance methods

ILogger GetLogger(string loggerName)

Creates the specified logger object and assigns a LoggerName to it.
Parameters
string loggerName
Logger name.
Returns
ILogger
The new logger instance.

void LoadConfigFromFile(string fileName)

Loads NLog configuration from the specified file.
Parameters
string fileName
The name of the file to load NLog configuration from.