1.0.9 • Published 1 year ago

@vernglobe/logger v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago