<commit_before>#pragma once

#include "file_monitor.hpp"
#include "spdlog_utility.hpp"
#include <fstream>
#include <list>

class log_monitor final {
public:
  log_monitor(const log_monitor&) = delete;

  log_monitor(void) {
    for (const auto& file_path : {
             "/var/log/karabiner/grabber_log.1.txt",
             "/var/log/karabiner/grabber_log.txt",
             "/var/log/karabiner/event_dispatcher_log.txt",
         }) {
      add_lines(file_path);
    }

    for (const auto& it : lines_) {
      std::cout << it.second << std::endl;
    }
  }

private:
  void add_lines(const std::string& file_path) {<commit_msg>remove debug output<commit_after>#pragma once

#include "file_monitor.hpp"
#include "spdlog_utility.hpp"
#include <fstream>
#include <list>

class log_monitor final {
public:
  log_monitor(const log_monitor&) = delete;

  log_monitor(void) {
    for (const auto& file_path : {
             "/var/log/karabiner/grabber_log.1.txt",
             "/var/log/karabiner/grabber_log.txt",
             "/var/log/karabiner/event_dispatcher_log.txt",
         }) {
      add_lines(file_path);
    }
  }

private:
  void add_lines(const std::string& file_path) {
{'fraction_non_alphanumeric': 0.1353637901861252, 'fraction_numerical': 0.001692047377326565, 'mean_word_length': 2.9966216216216215, 'pattern_counts': {'":': 0, '<': 11, '<?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': '6580984', 'n_tokens_mistral': 427, 'n_tokens_neox': 423, 'n_words': 72}