Go to the source code of this file.
Defines | |
#define | WHEN_LOGGING(_act) { _act; } |
#define | log_clear(logfile) ((void)0) |
#define | log_ctx(logfile, s) __log_ctx(logfile, __func__, __FILE__, __LINE__, s) |
#define | logt(s) log_text(PRIMARY_LOG_FILENAME, s) |
#define | logc(s) log_ctx(PRIMARY_LOG_FILENAME, s) |
#define | logg(f...) log_fmt(PRIMARY_LOG_FILENAME, f) |
#define | logh() log_ctx(PRIMARY_LOG_FILENAME, "") |
Functions | |
void | log_text (const char *logfile, const char *s) |
void | __log_ctx (const char *logfile, const char *func, const char *file, int line, const char *s) |
void | log_fmt (const char *logfile, const char *fmt,...) |
#define log_clear | ( | logfile | ) | ((void)0) |
Definition at line 42 of file logging_c.h.
Referenced by cl2GlobalInit(), and MainL().
#define log_ctx | ( | logfile, | |||
s | ) | __log_ctx(logfile, __func__, __FILE__, __LINE__, s) |
Definition at line 49 of file logging_c.h.
Referenced by cl2GlobalInit(), and MainL().
#define logc | ( | s | ) | log_ctx(PRIMARY_LOG_FILENAME, s) |
Definition at line 75 of file logging_c.h.
#define logg | ( | f... | ) | log_fmt(PRIMARY_LOG_FILENAME, f) |
Definition at line 76 of file logging_c.h.
Referenced by _rk_Remokon::_rk_Remokon(), ac_AppContext_configure(), CCl2appAppUi::AppContextReady(), CSensor_callstatus::ChangedData_CallStatus(), CPosModuleStatAo::ChooseBestPositionerL(), cl2GlobalInit(), close_config_db_session(), CUploader::CreatePosterAo(), CUploader::CreatePosterAoL(), CUploader::CUploader(), current_iap_is_cellular(), CDiskObserver::DiskSpaceNotify(), ensure_config_db_created(), epoc_log_bearer_types(), er_log_base(), CWatchdog::ExitWatchdog(), f_config_set(), CWatchdog::FindApp(), CWatchdog::FindAppByPattern(), FindContactItemByPhoneNoL(), GetContactNameByPhoneNoL(), GetNameFromContactItemL(), CSensor_callstatus::GotData_FlightMode(), _rk_Remokon::gotJabberMessage(), CBatteryObserver::HandleBattery(), CFlightModeObserver::HandleFlightMode(), CWatchdog::HandleProcessHandleEvent(), CSensor_indicator::HandleRead(), CUploader::HandleTimerEvent(), init_uploads_allowed_state(), kr_Controller_set_current_mcc(), kr_Controller_set_operator_name(), log_db_close_session(), log_db_take_snapshot(), LogBearerTypesL(), LogSatelliteInfoL(), main(), MainL(), CPosterAo::MHFRunError(), CPosterAo::MHFRunL(), CFileDataSupplier::OpenL(), CSensor_cellpos::PositionerEventL(), CUploader::postingFinished(), CUploader::PostNowL(), px_txtlog_fatal_error(), QtMainE(), CSmsTrigger::RunL(), CPosModuleStatAo::RunL(), CCliapiSession::ServiceL(), CSensor_indicator::SetTimer(), ShutdownApplication(), CWatchdog::StartApp(), CUploader::TakeSnapshotNowL(), and txtlog_lua_error().
#define logh | ( | ) | log_ctx(PRIMARY_LOG_FILENAME, "") |
Definition at line 77 of file logging_c.h.
Referenced by CUploader::HandleImmediateEvent(), CUploader::Inactivate(), CUploader::InactivateLater(), CPosterAo::PostComplete(), _rk_Remokon::start(), and _rk_Remokon::startTimed().
#define logt | ( | s | ) | log_text(PRIMARY_LOG_FILENAME, s) |
Definition at line 74 of file logging_c.h.
Referenced by CMainObj::AppContextReady(), CCl2appAppUi::AppContextReady(), CSensor_callstatus::ChangedData_CallStatus(), cl2GlobalCleanup(), cl2GlobalInit(), cl2RunOnce(), cl2RunOnceGetExitCode(), CCl2appAppUi::ConstructL(), create_database(), CUploader::CUploader(), CCl2appAppUi::DestroyLogger(), CUploader::DestroyPosterAo(), er_log_base(), er_log_status_string(), er_show_error_msg(), ExitApplication(), f_config_set(), f_log(), GetContactNameByPhoneNoL(), gx_txtlog_error(), CUploader::handlePosterTimerEvent(), CSmsEventNotifier::HandleSentL(), CUploader::handleSnapshotTimerEvent(), CUploader::HandleTimerEvent(), KillLogger(), kr_Controller_new(), kr_Controller_start(), LocalServer_start(), log_db_take_snapshot(), log_text_to_db(), CSensor_smsevent::LogEvent(), LogSatelliteInfoL(), main(), MainL(), CPosterAo::MHFRunL(), CUploader::postingFinished(), CUploader::postingSslErrors(), CUploader::PostNowL(), QtMainE(), CUploader::RefreshSnapshotTimeExpr(), sa_Array_destroy(), sa_Array_new(), CCliapiSession::ServiceL(), CUploader::SetSnapshotTimerL(), ShutdownApplication(), CCl2appAppUi::~CCl2appAppUi(), CMainObj::~CMainObj(), and QxDebug::~QxDebug().
#define WHEN_LOGGING | ( | _act | ) | { _act; } |
Definition at line 33 of file logging_c.h.
Referenced by init_uploads_allowed_state().
void __log_ctx | ( | const char * | logfile, | |
const char * | func, | |||
const char * | file, | |||
int | line, | |||
const char * | s | |||
) |
Definition at line 96 of file logging.cpp.
void log_fmt | ( | const char * | logfile, | |
const char * | fmt, | |||
... | ||||
) |
Definition at line 102 of file logging.cpp.
void log_text | ( | const char * | logfile, | |
const char * | s | |||
) |
Definition at line 90 of file logging.cpp.
Referenced by cl2GlobalInit(), log_time_f(), and MainL().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:00 2011 by Doxygen 1.6.1