A fancy logging tool
Here is the output when the above examples were tested:
warn don't throw errors unless you pass an Error Type as argument.
error always throws an error, either the one passed as argument or a new one generated from the message passed.
explanation is MIT licensed.
© 2016 Jason Lenoble