0.2.3 • Published 2 years ago

@ztax/logger v0.2.3

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

@ztax/logger

in the root of a typescript project:

pnpm add @ztax/logger
pnpm install-snippets

in a file you want to use logger

// type logsetup to use the snippet
// which will add

const { WARN, LOG, DEBUG, VERBOSE, ERROR } = Logger.setup(Logger.INFO); // eslint-disable-line no-unused-vars

Logger needs to be imported ( // TODO needs to happen automagically with the snippet or at least with autoimport libs)

import { Logger } from "@ztax/logger/src";

Change the verbosity in the setup line

const { WARN, LOG, DEBUG, VERBOSE, ERROR } = Logger.setup(Logger.DEBUG); // eslint-disable-line no-unused-vars
0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago