// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNet.Http; using Microsoft.Extensions.Logging; namespace Microsoft.AspNet.Diagnostics.Elm { /// /// Options for ElmMiddleware /// public class ElmOptions { /// /// Specifies the path to view the logs. /// public PathString Path { get; set; } = new PathString("/Elm"); /// /// Determines whether log statements should be logged based on the name of the logger /// and the of the message. /// public Func Filter { get; set; } = (name, level) => true; } }