Class for writing a high performance, high volume log file. Sometimes, to debug, one has a high volume logging to do and the regular log file output is not appropriate. Create a new instance with the parameters needed and call Write() to output a line. Call Close() when finished. If created with no parameters, it will not log anything.
More...
|
| LogWriter () |
| Create a log writer that will not write anything. Good for when not enabled but the write statements are still in the code. More...
|
|
| LogWriter (string dir, string headr, int maxFileTime, bool flushWrite) |
| Create a log writer instance. More...
|
|
| LogWriter (string dir, string headr, int maxFileTime) |
|
void | Dispose () |
|
void | Close () |
|
void | Write (string line, params object[] args) |
|
void | Flush () |
|
void | Write (string line) |
|
Class for writing a high performance, high volume log file. Sometimes, to debug, one has a high volume logging to do and the regular log file output is not appropriate. Create a new instance with the parameters needed and call Write() to output a line. Call Close() when finished. If created with no parameters, it will not log anything.
Definition at line 43 of file LogWriter.cs.
OpenSim.Framework.LogWriter.LogWriter |
( |
| ) |
|
|
inline |
Create a log writer that will not write anything. Good for when not enabled but the write statements are still in the code.
Definition at line 65 of file LogWriter.cs.
OpenSim.Framework.LogWriter.LogWriter |
( |
string |
dir, |
|
|
string |
headr, |
|
|
int |
maxFileTime, |
|
|
bool |
flushWrite |
|
) |
| |
|
inline |
Create a log writer instance.
- Parameters
-
dir | The directory to create the log file in. May be 'null' for default. |
headr | The characters that begin the log file name. May be 'null' for default. |
maxFileTime | Maximum age of a log file in minutes. If zero, will set default. |
flushWrite | Whether to do a flush after every log write. Best left off but if one is looking for a crash, this is a good thing to turn on. |
Definition at line 79 of file LogWriter.cs.
OpenSim.Framework.LogWriter.LogWriter |
( |
string |
dir, |
|
|
string |
headr, |
|
|
int |
maxFileTime |
|
) |
| |
|
inline |
void OpenSim.Framework.LogWriter.Close |
( |
| ) |
|
|
inline |
void OpenSim.Framework.LogWriter.Dispose |
( |
| ) |
|
|
inline |
void OpenSim.Framework.LogWriter.Flush |
( |
| ) |
|
|
inline |
void OpenSim.Framework.LogWriter.Write |
( |
string |
line, |
|
|
params object[] |
args |
|
) |
| |
|
inline |
void OpenSim.Framework.LogWriter.Write |
( |
string |
line | ) |
|
|
inline |
ILog OpenSim.Framework.LogWriter.ErrorLogger = null |
bool OpenSim.Framework.LogWriter.Enabled |
|
getset |
String OpenSim.Framework.LogWriter.LogFileHeader |
|
getset |
The documentation for this class was generated from the following file: