Unverified Commit f5319dfd authored by Károly Erdős's avatar Károly Erdős Committed by GitHub
Browse files

Merge pull request #9 from elixir-europe/add_cli_to_validator

Add utility function for logging to console (missed this file from the previous PR)
parents ef026f16 b50251f5
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