Struct FileSinkSystem.GeneralSinkConfiguration
General configuration
Inherited Members
Namespace: Unity.Logging.Sinks
Syntax
public struct GeneralSinkConfiguration
Fields
Postfix
String that should be added to any file at the end
Declaration
public FixedString4096Bytes Postfix
Field Value
Type | Description |
---|---|
FixedString4096Bytes |
Prefix
String that should be added to any file at the beginning
Declaration
public FixedString4096Bytes Prefix
Field Value
Type | Description |
---|---|
FixedString4096Bytes |
Separator
String that should be added between each logging message
Declaration
public FixedString64Bytes Separator
Field Value
Type | Description |
---|---|
FixedString64Bytes |
Methods
JsonArray()
Whole file is a json array, elements separated with comma
Declaration
public static FileSinkSystem.GeneralSinkConfiguration JsonArray()
Returns
Type | Description |
---|---|
FileSinkSystem.GeneralSinkConfiguration | GeneralSinkConfiguration that describes JSON array setup |
JsonLines()
Each line is a JSON object
Declaration
public static FileSinkSystem.GeneralSinkConfiguration JsonLines()
Returns
Type | Description |
---|---|
FileSinkSystem.GeneralSinkConfiguration | GeneralSinkConfiguration that describes JSON lines setup |