using System;
#nullable enable
namespace ComputeSharp.SwapChain.Core.Services;
///
/// The default for an analytics service.
///
public interface IAnalyticsService
{
///
/// Logs an event with a specified title and optional properties.
///
/// The title of the event to track.
/// The optional event properties.
void Log(string title, params (string Property, object? Value)[]? data);
///
/// Logs an exception with a specified title and optional properties.
///
/// The title of the event to track.
/// The exception that has been thrown.
/// The optional event properties.
void Log(string title, Exception exception, params (string Property, object? Value)[]? data);
}