Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Log.cpp 318B

1234567891011121314151617181920212223
  1. /*!
  2. * \file src/Log.cpp
  3. * \brief Log
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #include "Log.h"
  9. Log::Log() {
  10. printBuffer << std::boolalpha;
  11. }
  12. unsigned long Log::size() {
  13. return mHistory.size();
  14. }
  15. std::string Log::get(unsigned long i) {
  16. assert(i < mHistory.size());
  17. return mHistory.at(i);
  18. }