Symbol to fill line with
Message in middle of line
Formatting string for line (!USE ONLY FOR FORMATTING)
Formatting string for message (!USE ONLY FOR FORMATTING)
hr(); // ─────────────────────────────────────────── hr('~'); // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hr('-', "log trace"); // --------------- log trace ----------------- hr('=', "log", "\033[33m"); // prints = in yellow // ================== log ==================== hr('#', "ERROR", "\033[91m", "\033[101m"); // prints # in red end ERROR in red background // ################# ERROR ###################
Prints horizontal ruler