mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-06 08:08:28 +08:00
9 lines
202 B
JavaScript
9 lines
202 B
JavaScript
const Logger = require("js-logger");
|
|
require('dotenv').config({ path: ".env.test" })
|
|
|
|
const log_level = process.env["LOG_LEVEL"] || "OFF";
|
|
|
|
Logger.useDefaults({
|
|
defaultLevel: Logger[log_level],
|
|
});
|