Class LoggingSinkResolution
Resolves which sink settings asset a Logging Profile run edits by the same ownership rule the runtime's
singleton loader boots with: an explicit choice wins outright; otherwise the one project-owned candidate
beats the shipped default; a lone candidate is itself; and two or more project-owned candidates are an
authoring conflict — reported through MultipleFoundPaths
with no Existing, because the wizard
cannot choose for the author and must neither write one of them nor create another. That rule is
ResolveSettingsContext<TSettings>(string, string)'s own, so this names the sink-facing
questions and asks it.
Inheritance
LoggingSinkResolution
Assembly: Serenity.UnityLogging.Infrastructure.Editor.dll
Syntax
public static class LoggingSinkResolution
Methods
ConflictingCandidatePaths<TSettings>()
The project-owned candidates an author must choose between, ordered by path — empty when the
wizard can resolve the sink on its own.
Declaration
public static IReadOnlyList<string> ConflictingCandidatePaths<TSettings>() where TSettings : UnityLogSettings
Returns
Type Parameters
| Name |
Description |
| TSettings |
|
Resolve<TSettings>(string)
Resolves the sink of type TSettings this run would write.
Declaration
public static SettingsAssetAuthoring.SettingsResolution<TSettings> Resolve<TSettings>(string explicitSettingsAssetPath) where TSettings : UnityLogSettings
Parameters
| Type |
Name |
Description |
| string |
explicitSettingsAssetPath |
|
Returns
Type Parameters
| Name |
Description |
| TSettings |
|