47 traceLogger =
new PyTraceLog(
"evemu_client_stack_trace.txt",
true,
true);
63 _log(CLIENT__WARNING,
"AlertService::Handle_BeanCount(): size=%u", call.
tuple->
size() );
70 result->items[0] =
PyStatic.NewNone();
72 result->items[0] =
new PyInt(34135);
75 result->items[1] =
new PyInt(0);
77 return (
PyRep*)result;
87 _log(CLIENT__WARNING,
"AlertService::Handle_BeanDelivery(): size=%u", call.
tuple->
size() );
97 _log(CLIENT__WARNING,
"AlertService::Handle_GroupBeanDelivery(): size=%u", call.
tuple->
size() );
114 _log(CLIENT__WARNING,
"AlertService::Handle_SendClientStackTraceAlert(): size=%u", call.
tuple->
size() );
a python client stack trace logger for Evemu
#define sConfig
A macro for easier access to the singleton.
Dispatcher *const m_dispatch
PyCallable_Make_InnerDispatcher(AlertService) AlertService
#define _log(type, fmt,...)
PyResult Handle_BeanCount(PyCallArgs &call)
Dispatcher *const m_dispatch
void SafeDelete(T *&p)
Deletes and nullifies a pointer.
#define is_log_enabled(type)
PyResult Handle_BeanDelivery(PyCallArgs &call)
PyResult Handle_SendClientStackTraceAlert(PyCallArgs &call)
The client sends us a python stack trace, from which we could make up what we did wrong...
bool logTrace(PyTuple &tuple)
logTrace is the function what its all about.
PyResult Handle_GroupBeanDelivery(PyCallArgs &call)