Craig's Utility Library  4.0 Beta
Utilities.IO.Logging.Interfaces.ILogger Interface Reference

Logger interface More...

Inheritance diagram for Utilities.IO.Logging.Interfaces.ILogger:
Utilities.IO.Logging.BaseClasses.LoggerBase Utilities.IO.Logging.Default.DefaultLogger

Public Member Functions

void AddLog (string Name="Default")
 Adds a log object or replaces one already in use More...
 
ILog GetLog (string Name="Default")
 Gets a specified log More...
 

Properties

IDictionary< string, ILogLogs [get]
 Logs held by the logger More...
 
string Name [get]
 Name of the logger More...
 

Detailed Description

Logger interface

Definition at line 30 of file ILogger.cs.

Member Function Documentation

void Utilities.IO.Logging.Interfaces.ILogger.AddLog ( string  Name = "Default")

Adds a log object or replaces one already in use

Parameters
NameThe name of the log file

Implemented in Utilities.IO.Logging.BaseClasses.LoggerBase, and Utilities.IO.Logging.Default.DefaultLogger.

ILog Utilities.IO.Logging.Interfaces.ILogger.GetLog ( string  Name = "Default")

Gets a specified log

Parameters
NameThe name of the log file
Returns
The log file specified

Implemented in Utilities.IO.Logging.BaseClasses.LoggerBase.

Property Documentation

IDictionary<string, ILog> Utilities.IO.Logging.Interfaces.ILogger.Logs
get

Logs held by the logger

Definition at line 35 of file ILogger.cs.

string Utilities.IO.Logging.Interfaces.ILogger.Name
get

Name of the logger

Definition at line 40 of file ILogger.cs.


The documentation for this interface was generated from the following file: