mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: start files migration nightmare
This commit is contained in:
parent
c4736cc640
commit
bc65e0e207
64 changed files with 1990 additions and 816 deletions
7
src/config/logging.ts
Normal file
7
src/config/logging.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import {PRODUCTION} from "../constants";
|
||||
|
||||
export const DEBUG = Boolean(localStorage.getItem("debug"));
|
||||
export const INFO = DEBUG || !PRODUCTION;
|
||||
export const TIME = DEBUG || !PRODUCTION;
|
||||
export const WARN = true;
|
||||
export const ERROR = true;
|
||||
Loading…
Add table
Add a link
Reference in a new issue