function xp_log($message) { $bootstrap = XApp_Bootstrap::instance(); $log = xapp_get_option(XApp_Bootstrap::LOGGER, $bootstrap); $log->log($message); }