<commit_before>
#include "cblog.hpp"
#include <iostream>

namespace cossb {
namespace base {

cblog::cblog():interface::ilog(log::logstream::CONSOLE)
{

}

cblog::~cblog()
{

}

void cblog::trace(const char* logstr)
{
	cout << _time.current_formatted() << "[TRACE] " << logstr << endl;
}
void cblog::debug(const char* logstr)
{
	cout << _time.current_formatted() << "[DEBUG] " << logstr << endl;
}
void cblog::info(const char* logstr)
{
	cout << _time.current_formatted() << "[INFO] " << logstr << endl;
}
void cblog::notice(const char* logstr)
{
	cout << _time.current_formatted() << "[NOTICE] " << logstr << endl;
}
void cblog::warn(const char* logstr)
{
	cout << _time.current_formatted() << "[WARNING] " << logstr << endl;
}
void cblog::error(const char* logstr)
{
	cout << _time.current_formatted() << "[RROR] " << logstr << endl;
}
void cblog::critical(const char* logstr)
{
	cout << _time.current_formatted() << "[CRITICAL] " << logstr << endl;
}
void cblog::alert(const char* logstr)
{
	cout << _time.current_formatted() << "[ALERT] " << logstr << endl;
}
void cblog::emerg(const char* logstr)
{
	cout << _time.current_formatted() << "[EMERGENCY] " << logstr << endl;
}


} /* namespace base */



extern "C" interface::ilog* create() {
	return new base::cblog;
}

extern "C" void destroy(interface::ilog* instance) {
	delete instance;
}
<commit_msg>fixed typos<commit_after>
#include "cblog.hpp"
#include <iostream>

namespace cossb {
namespace base {

cblog::cblog():interface::ilog(log::logstream::CONSOLE)
{

}

cblog::~cblog()
{

}

void cblog::trace(const char* logstr)
{
	cout << _time.current_formatted() << "[TRACE] " << logstr << endl;
}
void cblog::debug(const char* logstr)
{
	cout << _time.current_formatted() << "[DEBUG] " << logstr << endl;
}
void cblog::info(const char* logstr)
{
	cout << _time.current_formatted() << "[INFO] " << logstr << endl;
}
void cblog::notice(const char* logstr)
{
	cout << _time.current_formatted() << "[NOTICE] " << logstr << endl;
}
void cblog::warn(const char* logstr)
{
	cout << _time.current_formatted() << "[WARNING] " << logstr << endl;
}
void cblog::error(const char* logstr)
{
	cout << _time.current_formatted() << "[ERROR] " << logstr << endl;
}
void cblog::critical(const char* logstr)
{
	cout << _time.current_formatted() << "[CRITICAL] " << logstr << endl;
}
void cblog::alert(const char* logstr)
{
	cout << _time.current_formatted() << "[ALERT] " << logstr << endl;
}
void cblog::emerg(const char* logstr)
{
	cout << _time.current_formatted() << "[EMERGENCY] " << logstr << endl;
}


} /* namespace base */



extern "C" interface::ilog* create() {
	return new base::cblog;
}

extern "C" void destroy(interface::ilog* instance) {
	delete instance;
}

{'fraction_non_alphanumeric': 0.1974217311233886, 'fraction_numerical': 0.0, 'mean_word_length': 5.172727272727273, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 5, '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': '2321522', 'n_tokens_mistral': 1018, 'n_tokens_neox': 1007, 'n_words': 217}