Class SerilogLegacyNameResolver
Inherits Serilog's StaticMemberNameResolver to ensure we get same functionality Of easily allowing any static methods definied in the passed in class/type To extend as functions to use for filtering logs such as Has() and any other custom ones
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Logging.Viewer
Assembly: Umbraco.Infrastructure.dll
Syntax
public class SerilogLegacyNameResolver : StaticMemberNameResolver
Constructors
View SourceSerilogLegacyNameResolver(Type)
Declaration
public SerilogLegacyNameResolver(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Methods
View SourceTryResolveBuiltInPropertyName(String, out String)
Allows us to fix the gap from migrating away from Serilog.Filters.Expressions So we can still support the more verbose built in property names such as Exception, Level, MessageTemplate etc
Declaration
public override bool TryResolveBuiltInPropertyName(string alias, out string target)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | |
System.String | target |
Returns
Type | Description |
---|---|
System.Boolean |