ElmOptions Class

Options for ElmMiddleware

Namespace
Microsoft.AspNetCore.Diagnostics.Elm
Assemblies
  • Microsoft.AspNetCore.Diagnostics.Elm

Syntax

public class ElmOptions
class Microsoft.AspNetCore.Diagnostics.Elm.ElmOptions

Properties

Microsoft.AspNetCore.Diagnostics.Elm.ElmOptions.Filter

Determines whether log statements should be logged based on the name of the logger and the LogLevel of the message.

Return type:System.Func<System.String>
public Func<string, LogLevel, bool> Filter { get; set; }
Microsoft.AspNetCore.Diagnostics.Elm.ElmOptions.Path

Specifies the path to view the logs.

Return type:Microsoft.AspNetCore.Http.PathString
public PathString Path { get; set; }