<commit_before>// Emulator.cpp : Defines the entry point for the console application.
//
#include <algorithm>
#include <string>
#include <stdlib.h>

#include "6502/cpu.h"
#include "6502/assemble.h"
#include "6502/video.h"
#include "6502/disk.h"
#include "utils/path_utils.h"

#pragma warning(disable:4996)   // disable the deprecated warnings for fopen

INITIALIZE_EASYLOGGINGPP

#define MEMORY_SIZE (64 * 1024 * 1024)
int8_t memory_buffer[MEMORY_SIZE];

static void configure_logging()
{
	// hacky for now, but remove the old logfile
	unlink("emulator.log");

	el::Configurations conf;

	conf.setToDefault();
	conf.set(el::Level::Global, el::ConfigurationType::Filename, "emulator.log");
	conf.set(el::Level::Global, el::ConfigurationType::Enabled, "true");
	conf.set(el::Level::Global, el::ConfigurationType::ToStandardOutput, "false");
	conf.set(el::Level::Global, el::ConfigurationType::Format, "%datetime{%H:%m:%s} %msg");
	el::Loggers::reconfigureLogger("default", conf);

	// set some options on the logger
	el::Loggers::addFlag(el::LoggingFlag::ImmediateFlush);<commit_msg>Do not include log message in timestamp<commit_after>// Emulator.cpp : Defines the entry point for the console application.
//
#include <algorithm>
#include <string>
#include <stdlib.h>

#include "6502/cpu.h"
#include "6502/assemble.h"
#include "6502/video.h"
#include "6502/disk.h"
#include "utils/path_utils.h"

#pragma warning(disable:4996)   // disable the deprecated warnings for fopen

INITIALIZE_EASYLOGGINGPP

#define MEMORY_SIZE (64 * 1024 * 1024)
int8_t memory_buffer[MEMORY_SIZE];

static void configure_logging()
{
	// hacky for now, but remove the old logfile
	unlink("emulator.log");

	el::Configurations conf;

	conf.setToDefault();
	conf.set(el::Level::Global, el::ConfigurationType::Filename, "emulator.log");
	conf.set(el::Level::Global, el::ConfigurationType::Enabled, "true");
	conf.set(el::Level::Global, el::ConfigurationType::ToStandardOutput, "false");
	conf.set(el::Level::Global, el::ConfigurationType::Format, "%msg");
	el::Loggers::reconfigureLogger("default", conf);

	// set some options on the logger
	el::Loggers::addFlag(el::LoggingFlag::ImmediateFlush);
{'fraction_non_alphanumeric': 0.1577490774907749, 'fraction_numerical': 0.02859778597785978, 'mean_word_length': 6.746428571428571, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7095066', 'n_tokens_mistral': 777, 'n_tokens_neox': 723, 'n_words': 162}