Commit b50251f5 authored by Karoly Erdos's avatar Karoly Erdos
Browse files

Add utility function for logging to console

parent 66aca49c
const styles = require("../utils/console_colour_styles");
function log_error(text) {
console.log(styles.errorOpen, text, styles.resetText)
}
function log_info(text) {
console.log(styles.normalText, text, styles.resetText);
}
module.exports = { log_error, log_info }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment