1.0.9 • Published 3 years ago

@vernglobe/logger v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Usage

import Logger from "@vernglobe/logger";

const logger = new Logger("packageOrProjectName");
logger.info("logging the information");
logger.debug("logging the debug");
logger.error("logging the error");
logger.warn("logging the warning");


logger.info(`Context: ${JSON.stringify(context, null, 2)}`);
logger.debug(`Context: ${JSON.stringify(context, null, 2)}`);
logger.error(`Context: ${JSON.stringify(context, null, 2)}`);
logger.warn(`Context: ${JSON.stringify(context, null, 2)}`);


logger.info({ msg });
logger.debug({ msg });
logger.error({ msg });
logger.warn({ msg });
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago