Standard Logging Functions - aabs/fishdots GitHub Wiki

Fishdots has a variety of standard logging functions, that are created at the beginning of the boot process. These functions are available for you to use within your own functions, commands and plugins.

suppressed logging

This function is suppressed by defining the FISHDOTS_SUPPRESS_BOOT_LOGGING with any value.

To have a quiet boot logging process, define the variable like so:

set -U FISHDOTS_SUPPRESS_BOOT_LOGGING true

colour_print <colour> <"message">

print message in the colour supplied

boot 'message'

display a standard formatted message for messages.

NB: This function is suppressible.

ok 'message'

display a standard formatted message for messages.

NB: This function is suppressible.

running 'message'

display a standard formatted message for messages.

NB: This function is suppressible.

action 'message'

display a standard formatted message for messages.

NB: This function is suppressible.

warn 'message'

display a standard formatted message for messages.

NB: This function is suppressible.

error 'message'

display a standard formatted message for messages.

NB: This function is suppressible.

⚠️ **GitHub.com Fallback** ⚠️