Go to the source code of this file.
Typedefs | |
typedef struct _LogDb | LogDb |
Functions | |
LogDb * | LogDb_new (GError **error) |
void | LogDb_destroy (LogDb *self) |
gboolean | log_db_log_status_direct (LogDb *self, GError **error, const char *text) |
gboolean | log_db_log_status (LogDb *self, GError **error, const char *fmt,...) |
gboolean | log_db_take_snapshot (LogDb *self, gchar *pathname, gboolean *renamed, GError **error) |
Definition at line 10 of file ld_log_db.h.
gboolean log_db_log_status | ( | LogDb * | self, | |
GError ** | error, | |||
const char * | fmt, | |||
... | ||||
) |
Definition at line 160 of file ld_log_db.c.
References gx_error_no_memory, log_db_log_status_direct(), SET_TRAP_OOM, and UNSET_TRAP_OOM.
Referenced by CSensor_callstatus::ChangedData_CallStatus(), CSensor_callstatus::ChangedData_FlightMode(), current_iap_is_cellular(), CSensor_callstatus::GotData_FlightMode(), CSensor_smsevent::handle_close(), CSensor_smsevent::handle_error(), Sensor_tap::handleActiveChanged(), ClQtEventSensorBase::handleActiveChanged(), Sensor_tap::handleBusyChanged(), ClQtEventSensorBase::handleBusyChanged(), CSensor_indicator::HandleRead(), Sensor_tap::handleSensorError(), ClQtEventSensorBase::handleSensorError(), log_uploads_allowed(), netpos_allowed_update_board(), CSensor_cellpos::PositionerEventL(), CUploader::PosterEvent(), CUploader::postingFinished(), px_dblog_fatal_error(), CUploader::RefreshIap(), CUploader::RefreshSnapshotTimeExpr(), CSensor_callstatus::RetryTimerExpired(), CActiveLogErrG::RunError(), CActiveLogErr::RunError(), CSensor_appfocus::RunGL(), CSensor_keypress::RunL(), CSensor_inactivity::RunL(), _rk_Remokon::runTimeout(), CSensor_btprox::StartL(), CSensor_btprox::Stop(), and CUploader::TakeSnapshotNowL().
gboolean log_db_log_status_direct | ( | LogDb * | self, | |
GError ** | error, | |||
const char * | text | |||
) |
Definition at line 153 of file ld_log_db.c.
References log_text_to_db().
Referenced by er_log_base(), er_log_status_string(), gx_dblog_error_check(), and log_db_log_status().
gboolean log_db_take_snapshot | ( | LogDb * | self, | |
gchar * | pathname, | |||
gboolean * | renamed, | |||
GError ** | error | |||
) |
Definition at line 188 of file ld_log_db.c.
References ac_STATIC_GET, compress_file(), create_log_db(), domain_posix, er_fatal_general, gx_error_new(), log_db_close_session(), log_db_open_session(), LOGDB_FILE, logg, and logt.
Referenced by CUploader::TakeSnapshotNowL().
void LogDb_destroy | ( | LogDb * | self | ) |
Definition at line 144 of file ld_log_db.c.
References log_db_close_session().
Referenced by kr_Controller_destroy(), and LogDb_new().
LogDb* LogDb_new | ( | GError ** | error | ) |
Definition at line 122 of file ld_log_db.c.
References assert_error_unset, ensure_log_db_created(), gx_error_no_memory, log_db_open_session(), and LogDb_destroy().
Referenced by kr_Controller_new().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:59 2011 by Doxygen 1.6.1