23 lines
709 B
C#
23 lines
709 B
C#
// 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 Microsoft.Extensions.Logging;
|
|
|
|
namespace Microsoft.AspNetCore.Diagnostics.Elm
|
|
{
|
|
/// <summary>
|
|
/// Options for viewing elm logs.
|
|
/// </summary>
|
|
public class ViewOptions
|
|
{
|
|
/// <summary>
|
|
/// The minimum <see cref="LogLevel"/> of logs shown on the elm page.
|
|
/// </summary>
|
|
public LogLevel MinLevel { get; set; }
|
|
|
|
/// <summary>
|
|
/// The prefix for the logger names of logs shown on the elm page.
|
|
/// </summary>
|
|
public string NamePrefix { get; set; }
|
|
}
|
|
} |