<commit_before><?php

namespace neptune\core;

use neptune\core\Config;
use neptune\http\Request;
use \SplFileObject;

/**
 * Logger
 * @author <NAME> <<EMAIL>>
 */
class Logger {

	protected static $instance;
	protected static $enabled;
	protected $logs = array();
	protected $temp = false;
	protected $format = ':date [:type] :message';

	protected function __construct() {
		if(Config::get('log.format')) {
			$this->format = Config::get('log.format');
		}
	}

	public function __destruct() {
		$this->save();
	}<commit_msg>Adding time in default log formatting.<commit_after><?php

namespace neptune\core;

use neptune\core\Config;
use neptune\http\Request;
use \SplFileObject;

/**
 * Logger
 * @author <NAME> <<EMAIL>>
 */
class Logger {

	protected static $instance;
	protected static $enabled;
	protected $logs = array();
	protected $temp = false;
	protected $format = ':date :time [:type] :message';

	protected function __construct() {
		if(Config::get('log.format')) {
			$this->format = Config::get('log.format');
		}
	}

	public function __destruct() {
		$this->save();
	}
{'fraction_non_alphanumeric': 0.16589861751152074, 'fraction_numerical': 0.0, 'mean_word_length': 4.484848484848484, 'pattern_counts': {'":': 0, '<': 11, '<?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': '1148888', 'n_tokens_mistral': 380, 'n_tokens_neox': 356, 'n_words': 90}