logging_c.h File Reference

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 Documentation

#define log_clear ( logfile   )     ((void)0)

Definition at line 42 of file logging_c.h.

Referenced by cl2GlobalInit(), and MainL().

#define log_ctx ( logfile,
 )     __log_ctx(logfile, __func__, __FILE__, __LINE__, s)

Definition at line 49 of file logging_c.h.

Referenced by cl2GlobalInit(), and MainL().

#define logc (  )     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, "")
#define logt (  )     log_text(PRIMARY_LOG_FILENAME, s)
#define WHEN_LOGGING ( _act   )     { _act; }

Definition at line 33 of file logging_c.h.

Referenced by init_uploads_allowed_state().


Function Documentation

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