<commit_before><?php
namespace Core;

use Helpers\PhpMailer\Mail;

/*
 * logger class - Custom errors
 *
 * @author <NAME> - <EMAIL>
 * @version 2.2
 * @date June 27, 2014
 * @date updated May 18 2015
 */
class Logger
{

    /**
    * determins if error should be displayed
    * @var boolean
    */
    private static $printError = false;

    /**
    * determins if error should be emailed to SITEEMAIL defined in app/Core/Config.php
    * @var boolean
    */
    private static $emailError = false;

    /**
    * clear the errorlog
    * @var boolean
    */
    private static $clear = false;

    /**
    * path to error file
    * @var boolean
    */
    private static $errorFile = 'errorlog.html';

    /**
    * in the event of an error show this message
    */<commit_msg>Update Logger.php<commit_after><?php
namespace Core;

use Helpers\PhpMailer\Mail;

/*
 * logger class - Custom errors
 *
 * @author <NAME> - <EMAIL>
 * @version 2.2
 * @date June 27, 2014
 * @date updated May 18 2015
 */
class Logger
{

    /**
    * determins if error should be displayed
    * @var boolean
    */
    private static $printError = false;

    /**
    * determins if error should be emailed to SITEEMAIL defined in app/Core/Config.php
    * @var boolean
    */
    private static $emailError = false;

    /**
    * clear the errorlog
    * @var boolean
    */
    private static $clear = false;

    /**
    * path to error file
    * @var boolean
    */
    public static $errorFile = 'errorlog.html';

    /**
    * in the event of an error show this message
    */
{'fraction_non_alphanumeric': 0.11295469049138482, 'fraction_numerical': 0.017868538608806637, 'mean_word_length': 2.2197125256673513, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '5857716', 'n_tokens_mistral': 516, 'n_tokens_neox': 479, 'n_words': 165}