프로퍼티 | 타입 | 설명 | |
---|---|---|---|
FileLogger | System | ||
ValidatePathFormat | FormatBuilder |
메소드 | 설명 | |
---|---|---|
Add ( IEnumerable |
Adds the specified logs to storage in batches.
|
|
CloseFile ( ) : void |
Closes the current log file.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
FileLogger ( [ name, [ directory = null, System.Int64 maxLog = 1000, System.TimeSpan maxDuration = default(TimeSpan), LoggingLevels validLevels = LoggingLevels.All, [ format = null, [ fileNameFormat = null, [ extension = null, uint buffer = 65536, bool autoFlush = false ) : System |
Initializes a new instance of the FileLogger class.
|
|
Flush ( |
Force a flush of this logger.
|
메소드 | 설명 | |
---|---|---|
FileLogger ( ) : System |
Initializes static members of the FileLogger class.
|
|
ValidatePathFormat ( [ directory, [ fileNameFormat, [ extension, [ format ) : FormatBuilder |
public Add ( IEnumerable |
||
logs | IEnumerable |
The logs to add to storage. |
token | The token. | |
리턴 | Task |
public FileLogger ( [ name, [ directory = null, System.Int64 maxLog = 1000, System.TimeSpan maxDuration = default(TimeSpan), LoggingLevels validLevels = LoggingLevels.All, [ format = null, [ fileNameFormat = null, [ extension = null, uint buffer = 65536, bool autoFlush = false ) : System | ||
name | [ | The filename. |
directory | [ | The directory to log to (default to entry assembly directory). |
maxLog | System.Int64 | |
maxDuration | System.TimeSpan | The maximum time period that a single log file can cover. |
validLevels | LoggingLevels | |
format | [ | The log format (default to "Verbose,Xml"). |
fileNameFormat | [ | |
extension | [ | |
buffer | uint | The buffer. |
autoFlush | bool | if set to |
리턴 | System |
public Flush ( |
||
token | ||
리턴 | Task |