SerilogLoggingBackend.CreateTypeSourceBySourceName Method |
Namespace: PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly: PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.9.11.0 (6.9.11.0)
protected override LoggingTypeSource CreateTypeSourceBySourceName( LoggingNamespaceSource parent, string sourceName )
Parameters
- parent
- Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
Parent namespace source. - sourceName
- Type: System.String
Name for the log source.
Return Value
Type: LoggingTypeSourceThe new log source.
Exception | Condition |
---|---|
NotSupportedException | When the backend is cannot create log sources based on names. |