Skip to main content


helps manage and harmonise READMEs in many repositories with template files
variable setupLogs
import { setupLogs } from "";

Setup different loggers used by the application. The default one hides debugs and detailed error messages. The debug one shows everything. The file error one is used in default mode to write error details to file but hide them in console.

import { getLogger } from ""
import { setupLogs } from "./logs.ts"
await setupLogs('/path/to/logfile.log')
const default = getLogger()
const debug = getLogger('debug')
const fileError = getLogger('fileError')


(appLogFile: string) => unknown