Craig's Utility Library  4.0 Beta
Utilities.IO.Logging.Default.DefaultLog Class Reference

Outputs messages to a file in ~/App_Data/Logs/ if a web app or ~/Logs/ if windows app with the format Name+DateTime.Now+".log" More...

Inheritance diagram for Utilities.IO.Logging.Default.DefaultLog:
Utilities.IO.Logging.BaseClasses.LogBase< DefaultLog >

Public Member Functions

 DefaultLog (string Name)
 Constructor More...
 
- Public Member Functions inherited from Utilities.IO.Logging.BaseClasses.LogBase< DefaultLog >
virtual void LogMessage (string Message, MessageType Type, params object[] args)
 Logs a message More...
 
override string ToString ()
 String representation of the logger More...
 

Properties

string FileName [get]
 File name More...
 
FileInfo File [get]
 File object that the log uses More...
 
- Properties inherited from Utilities.IO.Logging.BaseClasses.LogBase< DefaultLog >
string Name [get]
 Name of the log More...
 
Action< LogType > End [get, set]
 Called when the log is "closed" More...
 
Format FormatMessage [get, set]
 Format message function More...
 
IDictionary< MessageType, Action< string > > Log [get]
 Called to log the current message More...
 
Action< LogType > Start [get, set]
 Called when the log is "opened" More...
 

Additional Inherited Members

- Protected Member Functions inherited from Utilities.IO.Logging.BaseClasses.LogBase< DefaultLog >
 LogBase (string Name)
 Constructor More...
 
override void Dispose (bool Managed)
 Disposes of the objects More...
 

Detailed Description

Outputs messages to a file in ~/App_Data/Logs/ if a web app or ~/Logs/ if windows app with the format Name+DateTime.Now+".log"

Definition at line 34 of file DefaultLog.cs.

Constructor & Destructor Documentation

Utilities.IO.Logging.Default.DefaultLog.DefaultLog ( string  Name)

Constructor

Definition at line 39 of file DefaultLog.cs.

Property Documentation

FileInfo Utilities.IO.Logging.Default.DefaultLog.File
getprotected

File object that the log uses

Definition at line 77 of file DefaultLog.cs.

string Utilities.IO.Logging.Default.DefaultLog.FileName
get

File name

Definition at line 61 of file DefaultLog.cs.


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