#include "logger.h" #include #include #include #include "global.h" namespace { class Logger { public: Logger() : logfile_(GetAbsolutePath("debug.log")) {} void LogLine(const std::string& text) { std::lock_guard guard(file_mutex_); logfile_ << "[" << std::chrono::system_clock::now() << "] " << text << std::endl; logfile_.flush(); } private: std::ofstream logfile_; std::mutex file_mutex_; }; } // namespace void TrackerLog(std::string text) { static Logger* instance = new Logger(); instance->LogLine(text); } ader'> cgit logo index : lingo2-archipelago
Randomizer for LINGO 2 using Archipelago Multiworld
about summary refs log tree commit diff stats
blob: e4d59e6bf7654d0568587c65ef1d2eb43b599927 (plain) (blame)
1
2
3
4
5
6
7
8
name: "Orange Vegetable"
panels {
  name: "POTATO"
  path: "Panels/Red/panel_1"
  clue: "potato"
  answer: "tomato"
  symbols: ZERO
}