Struct FileRollingLogic<T>
Class that implements rolling logic
Inherited Members
Namespace: Unity.Logging.Sinks
Assembly: solution.dll
Syntax
[BurstCompile]
[GenerateTestsForBurstCompatibility]
public struct FileRollingLogic<T> : IFileOperations, IDisposable where T : IFileOperationsImplementation
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
File |
Create from a state pointer |
Properties
Name | Description |
---|---|
Is |
True if state is not null |
Methods
Name | Description |
---|---|
Append(byte*, ulong, bool) | Update state on data that is appended and writes data into the file |
Dispose() | Dispose all resources |
Flush() | Flush any ongoing file operations |
Get |
Returns state pointer |
Open |
Initializes state with file sink configuration |