public static void Measure(this NLog.Logger logger, LumberjackMetricMessage message)
        {
            if (message == null || message.Source == null || message.ApplicationId == null || message.Component == null)
            {
                return;
            }

            if (message.UnixTimestamp == 0)
            {
                message.UnixTimestamp = (long)((DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds);
            }

            var info = new LogEventInfo
            {
                Level = LogLevel.Trace,
            };

            info.Properties.Add("data", message);
            logger.Log(typeof(LoggerExtensions), info);
        }
        public static void Measure(this NLog.Logger logger, LumberjackMetricMessage message)
        {
            if (message == null || message.Source == null || message.ApplicationId == null || message.Component == null)
            {
                return;
            }

            if(message.UnixTimestamp == 0)
            {
                message.UnixTimestamp = (long)((DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds);
            }

            var info = new LogEventInfo
            {
                Level = LogLevel.Trace,
            };

            info.Properties.Add("data", message);
            logger.Log(typeof(LoggerExtensions), info);
        }