Crate dlt_user_sys

Crate dlt_user_sys 

Modulesยง

export ๐Ÿ”’
functions ๐Ÿ”’
serde ๐Ÿ”’
types ๐Ÿ”’

Macrosยง

id
Creates an Id from a literal.

Structsยง

Context
This structure is used for every context used in an application.
ContextData
This structure is used for context data used in an application.
Id
4 letter ASCII DLT Identifier.
InvalidId
LogLevel
Definitions of DLT log level
ReturnValue
Definitions of DLT return values
TimestampType
TraceStatus
Definitions of DLT trace status

Functionsยง

check_library_versionโš 
Check the library version of DLT library.
check_library_version
lib_freeโš 
Terminate the user lib.
lib_initโš 
Initialize the user lib communication with daemon.
log_markerโš 
Write marker message to DLT.
log_resend_bufferโš 
Try to resend log message in the user buffer.
log_write_finishโš 
Finishing the generation of a DLT log message and sending it to the DLT daemon without freeing log buffer.
log_write_startโš 
Initialize the generation of a DLT log message with given buffer from DLT application.
register_appโš 
Register an application in the daemon.
register_contextโš 
Register a context in the daemon with pre-defined log level and pre-defined trace status.
register_injection_callbackโš 
Register callback function with private data called when injection message was received.
register_log_level_changed_callbackโš 
Register callback function called when log level of context was changed.
unregister_appโš 
Unregister an application in the daemon.
unregister_contextโš 
Unregister a context in the DLT daemon.

Type Aliasesยง

InjectionCallback
See register_injection_callback.
LogLevelChangedCallback
See register_log_level_changed_callback.