Represents Logging functionality
More...
|
static void | WriteLine (string content) |
| Write a string to the log file (if logging)
|
|
|
static Logger | Instance [get] |
| Gets the singleton instance.
|
|
static string | Path [getset] |
| Gets or sets the path. More...
|
|
static bool | IsLogging [get] |
| Gets a value indicating whether this instance is logging. More...
|
|
static long | LogRotationSize [getset] |
| Get or Set the amount of bytes that the log file can grow to before it is rotated. The logfile will be renamed from [filename] to [filename_1], with any file with that name being renamed as [filename_2]. If there are already two existing log files, so that a file exists that is already called [filename_2], then that will be deleted.
|
|
Represents Logging functionality
◆ IsLogging
bool SolidFramework.Plumbing.Logging.IsLogging |
|
staticget |
Gets a value indicating whether this instance is logging.
true
if this instance is logging; otherwise, false
.
◆ Path
string SolidFramework.Plumbing.Logging.Path |
|
staticgetset |
Gets or sets the path.
The path.
- Exceptions
-
System.InvalidOperationException | |