5.5.1 Module Level Functions

The following functions are provided:

raw_log_data( )

Returns the phone's log events of all supported types. For the list of supported types, see 5.5.

log_data( type, [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of a certain type, the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

log_data_by_time( type, start_time, end_time, [mode=_default_mode])

Returns the list of log events of type type that have occurred in the time interval between start_time and end_time. Only logs with the specified mode are taken into account.

The variables start_timeand end_time are passed as a unix timestamp.

calls( [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of type 'call', the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

faxes( [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of type 'fax', the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

emails( [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of type 'email', the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

sms( [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of type 'sms', the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

scheduler_logs( [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of type 'scheduler', the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

data_logs( [start_log=0, num_of_logs=_all_logs, mode=_default_mode])

Returns a list of num_of_logs events of type 'data', the latest one being at position start_log in the event logs. Only logs with the specified mode are taken into account.

See About this document... for information on suggesting changes.