master

Function master 

Source
pub fn master(msg: String)
Expand description

Prints a master-specific message in pink to the terminal.

This function uses the termcolor crate to print a master-specific message with a pink foreground color. If PRINT_ELSE_ON is false, the message will not be printed.

§Parameters

  • msg: The master-specific message to print.

§Terminal output

  • “[MASTER]: {}”, msg

§Example

use elevatorpro::print;

print::master("Master process initialized.".to_string());

Note: This function does not return a value and prints directly to the terminal. If color output is not supported, the master message may not appear in pink.