aspnetcore/test/Microsoft.AspNetCore.Signal.../LogRecord.cs

22 lines
596 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 System;
using Microsoft.Extensions.Logging.Testing;
namespace Microsoft.AspNetCore.SignalR.Tests
{
// WriteContext, but with a timestamp...
internal class LogRecord
{
public DateTime Timestamp { get; }
public WriteContext Write { get; }
public LogRecord(DateTime timestamp, WriteContext write)
{
Timestamp = timestamp;
Write = write;
}
}
}