eden-miror/src/frontend_common
lizzie 395613b01f
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
[common/logging] Simplify logging logic and fix issues when logging before system is created (#3688)
- our logging code was bigger than spdlog itself, why???? just keep it simple
- fix issues when logging before logging system is even started
- removes the "initialized logging twice" issue
- removes uneeded indirection in file logging
- uses direct formatting instead of jumping hoopla-around the fmt::format() ressult
- code duplication and dead code removal as usual

I did explore dup2() but I think it's not worth the hassle
I did try `fwopen()` but it's better if things are just kept as-is.

there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file

now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: DraVee <chimera@dravee.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2026-03-12 18:29:15 +01:00
..
CMakeLists.txt [crypto] Atomize all traces of MbedTLS, and require OpenSSL 3+ (#3606) 2026-02-23 02:50:13 +01:00
config.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
config.h [gamemode] Make available on other platforms (#353) 2025-12-07 07:13:43 +01:00
content_manager.h [common, fs] Use std::string_view instead of std::string&; inline functions that are used rarely (#330) 2025-08-27 22:21:04 +02:00
data_manager.cpp [desktop] refactor profile management and fix some misc bugs with it (#3415) 2026-01-29 17:17:28 +01:00
data_manager.h [qt, util] Change default units from units of 1024 (MiB, KiB) to 1000 (MB, KB) (#2882) 2025-12-07 00:29:37 +01:00
firmware_manager.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
firmware_manager.h [hle, kernel] Add support for FW21 and kernel changes (#3004) 2025-11-16 22:15:09 +01:00
mod_manager.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
mod_manager.h [desktop] Add mod importer from folder and zip (#3472) 2026-02-06 06:37:30 +01:00
play_time_manager.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
play_time_manager.h [chore] Fixed a couple memory leaks using up ~15 MB each iteration (#398) 2025-12-26 02:55:52 +01:00
settings_generator.cpp [common] autogenerate unique console serial for every install (#3550) 2026-02-15 04:11:39 +01:00
settings_generator.h [frontend] Generate web token at runtime (#3462) 2026-02-04 04:16:39 +01:00
update_checker.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
update_checker.h [frontend] Fix nightly update checker (#3444) 2026-02-01 20:38:02 +01:00