|
Ginger 1.1.5; VERSION ${PROJECT_VERSION}
|
Classes | |
| class | Matrix2 |
| Matrix2. More... | |
| class | thread_pool |
| class | Vector2 |
| Vector2. More... | |
| class | Vector2Ref |
| Vector2Ref. More... | |
Functions | |
| void | log_with_spdlog (const std::string &message) |
| Log a message using spdlog. | |
| auto | get_thread_pool () -> thread_pool & |
| Convenience accessor returning a singleton thread pool. | |
|
inline |
Convenience accessor returning a singleton thread pool.
The pool uses hardware concurrency as the number of worker threads. Use this in call sites that do not need to manage pool lifetime.
| void ginger::log_with_spdlog | ( | const std::string & | message | ) |
Log a message using spdlog.
This function provides a simple wrapper around spdlog for logging messages. It creates a file logger that writes to "ginger.log" and logs at the info level.
| message | The message to log |