<commit_before>using System;
using System.Collections.Generic;
using System.Threading;
using Loggly.Responses;
using Newtonsoft.Json;

namespace Loggly
{
   public class Logger : ILogger, IRequestContext
   {
      private string _url = "logs-01.loggly.com/";
      private string _applicationName = "loggly-csharp-app";
      private readonly string _inputKey;
      

      public Logger(string inputKey, 
          string alternativeUrl = null,
          string applicationName = null )
      {
          if (!string.IsNullOrEmpty(alternativeUrl))
              _url = alternativeUrl;

          if (!string.IsNullOrEmpty(applicationName))<commit_msg>Added an extra constructor<commit_after>using System;
using System.Collections.Generic;
using System.Threading;
using Loggly.Responses;
using Newtonsoft.Json;

namespace Loggly
{
   public class Logger : ILogger, IRequestContext
   {
      private string _url = "logs-01.loggly.com/";
      private string _applicationName = "loggly-csharp-app";
      private readonly string _inputKey;
      
      public Logger(string inputKey,
          string applicationName)
      {
          _inputKey = inputKey;
          _applicationName = applicationName;
      }

      public Logger(string inputKey, 
          string alternativeUrl = null,
          string applicationName = null )
      {
          if (!string.IsNullOrEmpty(alternativeUrl))
              _url = alternativeUrl;

          if (!string.IsNullOrEmpty(applicationName))
{'fraction_non_alphanumeric': 0.07738896366083446, 'fraction_numerical': 0.0026917900403768506, 'mean_word_length': 2.726817042606516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1037694', 'n_tokens_mistral': 397, 'n_tokens_neox': 394, 'n_words': 99}