Package-level declarations
Types
Enum representing log levels
Enum representing log file rotation options
Settings for disappearing messages in a conversation.
Functions
It returns a new client of the specified inbox_id
. Note that the inbox_id
must be either brand new or already associated with the account_identifier
. i.e. inbox_id
cannot be associated with another account address.
turns on logging to a file on-disk in the directory specified. files will be prefixed with 'libxmtp.log' and suffixed with the timestamp, i.e "libxmtp.log.2025-04-02" A maximum of 'max_files' log files are kept.
turns on logging to a file on-disk with a specified log level. files will be prefixed with 'libxmtp.log' and suffixed with the timestamp, i.e "libxmtp.log.2025-04-02" A maximum of 'max_files' log files are kept.
Flush loglines from libxmtp log writer to the file, ensuring logs are written. This should be called before the program exits, to ensure all the logs in memory have been written. this ends the writer thread.