<commit_before>#include "logger.h"

namespace tiledb {

Logger::Logger() {
  logger_ = spdlog::get("tiledb");
  if (logger_ == nullptr) {
    logger_ = spdlog::stdout_color_mt("tiledb");
  }
  // Set the default logging format
  // [Year-month-day 24hr-min-second.microsecond]
  // [logger]
  // [Process: id]
  // [Thread: id]
  // [log level]
  // text to log...
  logger_->set_pattern(
      "[%Y-%m-%d %H:%M:S.%e] [%n] [Process: %P] [Thread: %t] [%l] %v");

#ifdef TILEDB_VERBOSE
  logger_->set_level(spdlog::level::err);
#else
  logger_->set_level(spdlog::level::critical);<commit_msg>Update logger.cc<commit_after>#include "logger.h"

namespace tiledb {

Logger::Logger() {
  logger_ = spdlog::get("tiledb");
  if (logger_ == nullptr) {
    logger_ = spdlog::stdout_color_mt("tiledb");
  }
  // Set the default logging format
  // [Year-month-day 24hr-min-second.microsecond]
  // [logger]
  // [Process: id]
  // [Thread: id]
  // [log level]
  // text to log...
  logger_->set_pattern(
      "[%Y-%m-%d %H:%M:%S.%e] [%n] [Process: %P] [Thread: %t] [%l] %v");

#ifdef TILEDB_VERBOSE
  logger_->set_level(spdlog::level::err);
#else
  logger_->set_level(spdlog::level::critical);
{'fraction_non_alphanumeric': 0.21114864864864866, 'fraction_numerical': 0.0033783783783783786, 'mean_word_length': 3.683794466403162, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5078601', 'n_tokens_mistral': 482, 'n_tokens_neox': 473, 'n_words': 88}