15 #include "rocketSystemInterface.h"
16 #include "clockObject.h"
39 LogMessage(Rocket::Core::Log::Type type,
const Rocket::Core::String& message) {
41 case Rocket::Core::Log::LT_ALWAYS:
42 case Rocket::Core::Log::LT_ERROR:
43 case Rocket::Core::Log::LT_ASSERT:
44 rocket_cat->error() << message.CString() <<
"\n";
46 case Rocket::Core::Log::LT_WARNING:
47 rocket_cat->warning() << message.CString() <<
"\n";
49 case Rocket::Core::Log::LT_INFO:
50 rocket_cat->info() << message.CString() <<
"\n";
52 case Rocket::Core::Log::LT_DEBUG:
53 rocket_cat->debug() << message.CString() <<
"\n";
55 case Rocket::Core::Log::LT_MAX:
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
A ClockObject keeps track of elapsed real time and discrete time.
bool LogMessage(Rocket::Core::Log::Type type, const Rocket::Core::String &message)
Log the specified message.
double get_real_time() const
Returns the actual number of seconds elapsed since the ClockObject was created, or since it was last ...
float GetElapsedTime()
Get the number of seconds elapsed since the start of the application.