[](https://beecode.semaphoreci.com/projects/msh-node-log) [



Micro-service helper: node environment
This project is intended to be used in typescript project to help with logging needs.
- Install
- Diagram
- Logger Strategy
* NoLogger
* ConsoleLogger
npm i @beecode/msh-node-log
Define how and if we are logging.
This is the default logging strategy, meaning the logging is ignored.
This is a simple logging strategy, it outputs all logs to console with a prefix of the log level (ERROR:, WARN:, INFO:
, DEBUG:).
``typescript
import MshNodeEnv, { logger } from '@beecode/msh-node-env'
const env = MshNodeEnv({ loggerStrategy: new logger.ConsoleLogger(logger.LogLevel.INFO) })
``