Property | Type | Description | |
---|---|---|---|
Clean | void | ||
MemoryLogger | System |
Method | Description | |
---|---|---|
Add ( IEnumerable |
Adds the specified logs to storage in batches.
|
|
Clear ( ) : void |
Clears this instance.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Flush ( |
Force a flush of this logger.
|
Method | Description | |
---|---|---|
Clean ( ) : void |
Cleans this instance.
|
|
MemoryLogger ( [ name, System.TimeSpan cacheExpiry = default(TimeSpan), int maximumLogEntries = 10000, LoggingLevels validLevels = LoggingLevels.All ) : System |
Initializes a new instance of the MemoryLogger class.
|
public Add ( IEnumerable |
||
logs | IEnumerable |
The logs to add to storage. |
token | The token. | |
return | Task |
public Flush ( |
||
token | The token. | |
return | Task |