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 |
|---|---|
| FileRollingLogic(IntPtr) | Create from a state pointer |
Properties
| Name | Description |
|---|---|
| IsCreated | 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 |
| GetPointer() | Returns state pointer |
| OpenFileForLogging(ref Configuration) | Initializes state with file sink configuration |