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 284B

12345678910111213141516171819202122
  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. }
  11. unsigned long Log::size() {
  12. return mHistory.size();
  13. }
  14. std::string Log::get(unsigned long i) {
  15. assert(i < mHistory.size());
  16. return mHistory.at(i);
  17. }