<commit_before>﻿namespace Easy.Logger.Extensions
{
    using System;
    using System.Diagnostics;
    using System.Diagnostics.CodeAnalysis;
    using System.IO;
    using System.Net;
    using System.Threading;
    using System.Threading.Tasks;
    using log4net.Appender;
    using log4net.Core;
#if NETSTANDARD1_3
    using System.Text;
    using Newtonsoft.Json;
    using JsonSerializer = Newtonsoft.Json.JsonSerializer;
    using Newtonsoft.Json.Serialization;    
#else
    using Utf8Json;
    using Utf8Json.Formatters;
    using Utf8Json.Resolvers;
#endif
    

    /// <summary>
    /// An appender for <c>POSTing</c> log events to a given endpoint.
    /// </summary>
    public sealed class HTTPAppender : AppenderSkeleton
    {
#if NETSTANDARD1_3
        private static readonly JsonSerializer Serializer;
#endif
        private readonly ThreadLocal<LoggingEvent[]> _singleLogEventPool;
        private readonly int _pid;
        private readonly string _processName;<commit_msg>[Minor cleanup] - Removed a blank line<commit_after>﻿namespace Easy.Logger.Extensions
{
    using System;
    using System.Diagnostics;
    using System.Diagnostics.CodeAnalysis;
    using System.IO;
    using System.Net;
    using System.Threading;
    using System.Threading.Tasks;
    using log4net.Appender;
    using log4net.Core;
#if NETSTANDARD1_3
    using System.Text;
    using Newtonsoft.Json;
    using JsonSerializer = Newtonsoft.Json.JsonSerializer;
    using Newtonsoft.Json.Serialization;    
#else
    using Utf8Json;
    using Utf8Json.Formatters;
    using Utf8Json.Resolvers;
#endif
    
    /// <summary>
    /// An appender for <c>POSTing</c> log events to a given endpoint.
    /// </summary>
    public sealed class HTTPAppender : AppenderSkeleton
    {
#if NETSTANDARD1_3
        private static readonly JsonSerializer Serializer;
#endif
        private readonly ThreadLocal<LoggingEvent[]> _singleLogEventPool;
        private readonly int _pid;
        private readonly string _processName;
{'fraction_non_alphanumeric': 0.0781094527363184, 'fraction_numerical': 0.008955223880597015, 'mean_word_length': 3.1293634496919918, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7542401', 'n_tokens_mistral': 584, 'n_tokens_neox': 584, 'n_words': 156}