Class LoggingProfileCreator.Input
Everything needed to create or update the console sink, the file sink, and the profile.
Inheritance
LoggingProfileCreator.Input
Assembly: Serenity.UnityLogging.Infrastructure.Editor.dll
public sealed class LoggingProfileCreator.Input
Constructors
Declaration
Fields
Explicit console settings asset path — a test seam and an already-known-asset fast
path. Leave empty for the production behavior: find the single project-wide
UnityConsoleLogSettings asset, or create one under OutputFolderPath.
Declaration
public string ConsoleSettingsAssetPath
Field Value
Declaration
public bool ConsoleShowCategory
Field Value
Declaration
public bool ConsoleShowTimestamps
Field Value
Declaration
public bool ConsoleSinkEnabled
Field Value
ConsoleUseRichText
Declaration
public bool ConsoleUseRichText
Field Value
Declaration
public LogVerbosity ConsoleVerbosity
Field Value
Declaration
public LoggingProfileCreator.DefaultLoggerChoice DefaultLogger
Field Value
Declaration
public string FileLogFileName
Field Value
Declaration
public string FileSettingsAssetPath
Field Value
Declaration
public bool FileShowCategory
Field Value
Declaration
public bool FileShowTimestamps
Field Value
Declaration
public bool FileSinkEnabled
Field Value
FileUseRichText
Declaration
public bool FileUseRichText
Field Value
Declaration
public LogVerbosity FileVerbosity
Field Value
Folder new assets are created under, and searched for an existing same-Id profile to
update in place. Also the fallback folder for brand-new sink settings when their explicit path
fields are empty.
Declaration
public string OutputFolderPath
Field Value
Declaration
Field Value
Declaration
public bool RegisterAsAddressables
Field Value
Declaration
public string StructuredBackendAssetName
Field Value
Declaration
public StructuredBackendAuthoringFields StructuredBackendFields
Field Value
Folder the backend asset is created under. Empty falls back to OutputFolderPath.
Declaration
public string StructuredBackendFolderPath
Field Value
Declaration
public StructuredBackendAuthoringKind StructuredBackendKind
Field Value
Declaration
public bool StructuredCreateBackend
Field Value
Declaration
public int StructuredMaxRecords
Field Value
Declaration
public bool StructuredMirrorToConsole
Field Value
Declaration
public bool StructuredReplaceExistingBackend
Field Value
Declaration
public string StructuredSettingsAssetPath
Field Value
Foundation Id for this sink instance. Empty is only valid while a single structured
instance is configured project-wide — see StructuredLogSinkResolver. Drives the
structured:{Id} logger key when DefaultLogger is Structured
and this is non-empty.
Declaration
public string StructuredSettingsId
Field Value
Declaration
public bool StructuredShowCategory
Field Value
Declaration
public bool StructuredShowTimestamps
Field Value
Declaration
public bool StructuredSinkEnabled
Field Value
Declaration
public string StructuredStreamId
Field Value
Declaration
public string StructuredTableOrCollectionName
Field Value
Declaration
public bool StructuredTrimOnEveryInsert
Field Value
StructuredUseRichText
Declaration
public bool StructuredUseRichText
Field Value
Declaration
public LogVerbosity StructuredVerbosity
Field Value