import { error } from "https://deno.land/x/readme_manager@v3.0.0/mod.ts";
Error handler. Used log information to console and write to file then exit app.
import { error } from "./log.ts"
const errorHandler = error("/path/to/logfile.log", true)
errorHandler('Something went wrong.', new Error('The error'))