/* Calculate how many messages will fit in the buffer. Also calculate if remaining free space is size of message or not. This impacts how many messages are dropped. If free space is equal to message size then when buffer is full, adding new message will lead to one message drop, otherwise 2 message will be dropped.  */
static size_t get_short_msg_capacity(void)
/* Calculate how many messages will fit in the buffer. Also calculate if remaining free space is size of message or not. This impacts how many messages are dropped. If free space is equal to message size then when buffer is full, adding new message will lead to one message drop, otherwise 2 message will be dropped.  */
static size_t get_short_msg_capacity(void)
{
	return CONFIG_LOG_BUFFER_SIZE / LOG_SIMPLE_MSG_LEN;
}