Class LoggerConfig
Configuration for Logger. Can be used to setup Logger and create it.
Inherited Members
Namespace: Unity.Logging
Assembly: solution.dll
Syntax
public class LoggerConfig
Constructors
| Name | Description |
|---|---|
| LoggerConfig() | Create LoggerConfig to setup a new Logger |
Fields
| Name | Description |
|---|---|
| MinimumLevel | |
| SyncMode |
Properties
| Name | Description |
|---|---|
| WriteTo | Use this method to add new Sink |
Methods
| Name | Description |
|---|---|
| CaptureStacktrace(bool) | Should this logger capture stacktraces |
| CreateLogger() | Call that creates Logger using default LogMemoryManagerParameters |
| CreateLogger(LogMemoryManagerParameters) | Call that creates Logger |
| GetCaptureStacktrace() | Returns current capture stacktrace state. |
| GetOutputTemplate() | Returns current template that is used. See also OutputTemplate(FixedString512Bytes) |
| GetRedirectUnityLogs() | Returns current log startup state. |
| OutputTemplate(FixedString512Bytes) | Template that should be used by sinks by default. All sinks without explicit OutputTemplate will use this one after this call. |
| RedirectUnityLogs(bool) | Should this logger redirect Unity logs |