Skip to content

Instantly share code, notes, and snippets.

@johnjuuljensen
johnjuuljensen / GlimpseTimeline.cs
Created February 25, 2015 08:55
This is a mashup of the GlimpseTimeline from version 2 and https://gist.github.com/droyad/8292852
public class TimelineMessage : ITimelineMessage
{
public TimelineMessage()
{
Id = Guid.NewGuid();
}
public Guid Id { get; private set; }
public TimeSpan Offset { get; set; }
public TimeSpan Duration { get; set; }
#if NET6_0_OR_GREATER
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using Serilog;
namespace Example {
public interface IStructuredLogger {