coastline 0.0.4
Loading...
Searching...
No Matches
log.h File Reference
#include <filesystem>
#include <memory>
#include <string>
#include <string_view>
Include dependency graph for log.h:

Go to the source code of this file.

Classes

class  coastline::GameLog
 Forward SDL messages to a file and the previous callback until destruction. More...

Namespaces

namespace  coastline

Functions

std::string coastline::AbbreviateLogPaths (std::string_view message, std::string_view home)
 Abbreviate home-directory paths in a log message without changing similarly prefixed paths.
void coastline::StopGameLog ()
 Close the active game log and restore its previous callback before fatal process exit.