Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    SerilogLegacyNameResolver(Type)

    Declaration
    public SerilogLegacyNameResolver(Type type)
    Parameters
    Type Name Description
    Type type

    Methods

    View Source

    TryResolveBuiltInPropertyName(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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SerilogLegacyNameResolver(Type)
    • Methods
      • TryResolveBuiltInPropertyName(String, out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX