Previous: , Up: message   [Contents][Index]


10.3 Printing formatted messages

Function: mbfl_message_verbose_printf template [arg …]

Format the arguments in the same way printf would do; output the resulting string to the selected output channel, but only if the evaluation of the function mbfl_option_verbose() returns true.

Echo a string composed of: the selected program name, a colon, a space, the formatting result. No newline character is appended to the message.

Function: mbfl_message_error_printf template [arg …]

Format the arguments in the same way printf would do; output the resulting string to the selected output channel.

Echo a string composed of: the selected program name, a colon, a space, the string error, a colon, a space, the formatting result, a newline character.

Function: mbfl_message_warning_printf template [arg …]

Format the arguments in the same way printf would do; output the resulting string to the selected output channel.

Echo a string composed of: the selected program name, a colon, a space, the string warning, a colon, a space, the formatting result, a newline character.

Function: mbfl_message_debug_printf template [arg …]

Format the arguments in the same way printf would do; output the resulting string to the selected output channel, but only if the evaluation of the function mbfl_option_debug() returns true.

Echo a string composed of: the selected program name, a colon, a space, the string debug, a colon, a space, the formatting result. No newline character is appended to the message.


Previous: , Up: message   [Contents][Index]

This document describes version 3.0.0-devel.0 of Marcos Bash Functions Library.