Class UnityEditorConsoleSink.Configuration
Configuration for string sink
Inherited Members
Namespace: Unity.Logging.Sinks
Assembly: Unity.Logging.dll
Syntax
public class UnityEditorConsoleSink.Configuration : SinkConfiguration
Constructors
Configuration(LoggerWriterConfig, bool?, LogLevel?, FixedString512Bytes?)
Constructor for the configuration
Declaration
public Configuration(LoggerWriterConfig writeTo, bool? captureStackTraceOverride = null, LogLevel? minLevelOverride = null, FixedString512Bytes? outputTemplateOverride = null)
Parameters
Type | Name | Description |
---|---|---|
LoggerWriterConfig | writeTo | Logger config |
bool? | captureStackTraceOverride | True if stack traces should be captured. Null if default |
LogLevel? | minLevelOverride | Minimal level of logs for this particular sink. Null if common level should be used |
FixedString512Bytes? | outputTemplateOverride | Output message template for this particular sink. Null if common template should be used |
Methods
CreateSinkInstance(Logger)
Creates the UnityEditorConsoleSink
Declaration
public override SinkSystemBase CreateSinkInstance(Logger logger)
Parameters
Type | Name | Description |
---|---|---|
Logger | logger | Logger that owns sink |
Returns
Type | Description |
---|---|
SinkSystemBase | SinkSystemBase |