using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using System.Runtime.Versioning;

namespace Insight.Agent.Services
{
    [SupportedOSPlatform("linux")]
    public partial class CollectorService
    {
        public ILogger<CollectorService> Logger { get; }

        public CollectorService(ILogger<CollectorService>? logger = null)
        {
            Logger = logger ?? NullLogger<CollectorService>.Instance;
        }
    }
}