Lines Matching full:message
40 * @brief Log message API
41 * @defgroup log_msg Log message API
124 /** @brief Method used for creating a log message.
134 * function for creating a message. It takes code size than
139 /* Mode calculates size of the message and allocates it and writes
140 * directly to the message space. It is the fastest method but requires
169 /* During test fill with 0's to simplify message comparison */ \
174 * fixed size arrays and take the smallest one that will fit the message.
203 /* During test fill with 0's to simplify message comparison */ \
221 * is below the active memory during message construction. As a result,
254 LOG_MSG_DBG("creating message on stack: package len: %d, data len: %d\n", \
269 LOG_MSG_DBG("creating message zero copy: package len: %d, msg: %p\n", \
286 /* Macro handles case when local variable with log message string is created. It
295 /** @brief Wrapper for log message string with arguments.
299 * log message provided.
301 * @param _name Name of the variable with log message string. It is optionally used.
302 * @param ... Optional log message with arguments (may be empty).
319 /** @brief Wrapper for log message string with tagged arguments.
323 * log message provided. Each subsequent arguments are tagged by preceding
326 * @param _name Name of the variable with log message string. It is optionally used.
327 * @param ... Optional log message with arguments (may be empty).
356 * Variable is initialized with a format string from the log message.
359 * @param ... Optional log message with arguments (may be empty).
365 /** @brief Create log message and write it into the logger buffer.
367 * Macro handles creation of log message which includes storing log message
368 * description, timestamp, arguments, copying string arguments into message and
369 * copying user data into the message space. The are 3 modes of message
371 * - at compile time message size is determined, message is allocated and
372 * content is written directly to the message. It is the fastest but cannot
373 * be used in user mode. Message size cannot be determined at compile time if
375 * - at compile time message size is determined, string package is created on
376 * stack, message is created in function call. String package can only be
381 * @param _try_0cpy If positive then, if possible, message content is written
382 * directly to message. If 0 then, if possible, string package is created on
383 * the stack and message is created in the function call.
385 * @param _mode Used for testing. It is set according to message creation mode
390 * message which can be prebuilt at compile time.
394 * @param _source Pointer to the constant descriptor of the log message source.
396 * @param _level Log message level.
428 LOG_MSG_DBG("create zero-copy message\n");\
433 LOG_MSG_DBG("create on stack message\n");\
448 * which is a formatted string in log message.
482 /** @brief Allocate log message.
490 /** @brief Finalize message.
493 * message followed by committing the message.
495 * @param msg Message.
499 * @param desc Message descriptor.
506 /** @brief Create simple message from message details and string package.
510 * @param desc Message descriptor.
520 /** @brief Create message at runtime.
522 * Function allows to build any log message based on input data. Processing
523 * time is significantly higher than statically message creating.
547 /** @brief Create message at runtime.
549 * Function allows to build any log message based on input data. Processing
550 * time is significantly higher than statically message creating.
587 /** @brief Get total length (in 32 bit words) of a log message.
589 * @param desc Log message descriptor.
617 /** @brief Get log message domain ID.
619 * @param msg Log message.
628 /** @brief Get log message level.
630 * @param msg Log message.
639 /** @brief Get message source data.
641 * @param msg Log message.
652 * @param msg Log message.
663 * @param msg Log message.
679 * @param msg log message.
694 * @param msg log message.