LogDefault.cpp 434 B

12345678910
  1. /**
  2. * LogDefault.cpp:
  3. *
  4. * This file ensures that the Os::Log has a default instance. This means it will be created in static space here, and
  5. * registered as the default implementation. If the user does not intend to use the default implementation of Os::Log,
  6. * then this file can safely be ignored.
  7. */
  8. #include <Os/Log.hpp>
  9. Os::Log __default_logger__; // Create a default instance which will register itself in the constructor