33 LogMessage(Rocket::Core::Log::Type type,
const Rocket::Core::String& message) {
35 case Rocket::Core::Log::LT_ALWAYS:
36 case Rocket::Core::Log::LT_ERROR:
37 case Rocket::Core::Log::LT_ASSERT:
38 rocket_cat->error() << message.CString() <<
"\n";
40 case Rocket::Core::Log::LT_WARNING:
41 rocket_cat->warning() << message.CString() <<
"\n";
43 case Rocket::Core::Log::LT_INFO:
44 rocket_cat->info() << message.CString() <<
"\n";
46 case Rocket::Core::Log::LT_DEBUG:
47 rocket_cat->debug() << message.CString() <<
"\n";
49 case Rocket::Core::Log::LT_MAX:
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
get_real_time
Returns the actual number of seconds elapsed since the ClockObject was created, or since it was last ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
float GetElapsedTime()
Get the number of seconds elapsed since the start of the application.