SIGN IN SIGN UP
shadps4-emu / shadPS4 UNCLAIMED

PlayStation 4 emulator for Windows, Linux, macOS and FreeBSD written in C++

0 0 91 C++

Core: Only initialize logging once (#4509)

* Only initialize logging once

* Swap LOG macros for std::cerr and std::cout use.

* Add quick exit when trying to log before logger init

* Revert "Swap LOG macros for std::cerr and std::cout use."

This reverts commit a14d46d383f810688d053a4f204203c6869afb03.

* Use fmt's functions instead of cerr

Makes the commits a tad cleaner.

* Revert macro change

If I remember right, the if check here was to make sure we didn't throw exceptions after terminating the logger, which can happen due to a race involving some debug libSceVideoOut logs.

* Oops
S
Stephen Miller committed
0b9eb3dd17bbd5566b46e3daff7de5e3024c5cd2
Parent: 87e774c
Committed by GitHub <noreply@github.com> on 6/2/2026, 5:03:18 AM