The FileSink class - sink writing messages to file
More...
|
| FileSink (string filename, bool isSynchronized=false) |
| FileSink More...
|
|
| Sink (bool isSynchronized=false) |
|
void | Sync (string message) |
|
|
override void | Log (string message) |
| Log - override this method to define how the messege should be logged More...
|
|
The FileSink class - sink writing messages to file
◆ FileSink()
Grail.FileSink.FileSink |
( |
string |
filename, |
|
|
bool |
isSynchronized = false |
|
) |
| |
|
inline |
FileSink
- Parameters
-
filename | path to logger file, if it does not exist new file will be created |
isSynchronized | |
◆ Log()
override void Grail.FileSink.Log |
( |
string |
message | ) |
|
|
inlineprotectedvirtual |
Log - override this method to define how the messege should be logged
- Parameters
-
Implements Grail.Sink.
The documentation for this class was generated from the following file:
- GrailSystem/source/Logger/FileSink.cs