Welcome to my C++ Game Engine series!
-- Description --
In this episode we integrate the wonderful spdlog library and wrap it around a LogManager class. We also add logging and assert macros that are disabled for release builds.
-- Tools --
spdlog: [ Ссылка ]
-- Links --
What kind of game should we build? Vote here: [ Ссылка ]
GitHub repository: [ Ссылка ]
Twitter: [ Ссылка ]
-- Timestamps --
Adding spdlog: (0:00)
Creating our LogManager class: (1:50)
Initializing spdlog: (3:28)
Creating our Trace macro: (8:52)
Adding LogManager to our Engine class: (11:56)
Testing our Trace macro: (13:22)
Adding our remaining macros: (15:34)
Replacing std::cout calls with our new macros: (17:25)
Adding our Assert macro: (22:06)
Adding ability to break into the debugger when we assert: (31:18)
Ещё видео