Add project files.
This commit is contained in:
41
Core.Blueprint.Logging/Adapters/LogTarget.cs
Normal file
41
Core.Blueprint.Logging/Adapters/LogTarget.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
// ***********************************************************************
|
||||
// <copyright file="LogTarget.cs">
|
||||
// Heath
|
||||
// </copyright>
|
||||
// ***********************************************************************
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Core.Blueprint.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// The service logger target object.
|
||||
/// </summary>
|
||||
public class LogTarget
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the log target method.
|
||||
/// </summary>
|
||||
/// <example>GET</example>
|
||||
[DisplayName(DisplayNames.Method)]
|
||||
[JsonPropertyName(DisplayNames.Method)]
|
||||
public string? Method { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the log target host.
|
||||
/// </summary>
|
||||
/// <example>GET</example>
|
||||
[DisplayName(DisplayNames.Host)]
|
||||
[JsonPropertyName(DisplayNames.Host)]
|
||||
public string? Host { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the log target route.
|
||||
/// </summary>
|
||||
/// <example>GET</example>
|
||||
[DisplayName(DisplayNames.Route)]
|
||||
[JsonPropertyName(DisplayNames.Route)]
|
||||
public string? Route { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user