# architect-debug-logger

> A logging utility that combines the best of winston and debug

Latest version **1.0.5** (published 2016-04-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install architect-debug-logger
pnpm add architect-debug-logger
yarn add architect-debug-logger
bun add architect-debug-logger
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-04-08 |
| First published | 2016-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+11 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Todd Bashor |
| Maintainers | tbashor |
| Keywords | debug, debugger, log, winston, logging, sysadmin, tools, architect, plugin |

## Links

- npm: https://www.npmjs.com/package/architect-debug-logger
- Repository: https://github.com/tbashor/architect-debug-logger
- Homepage: https://github.com/tbashor/architect-debug-logger#readme
- Issues: https://github.com/tbashor/architect-debug-logger/issues
- npm.io page: https://npm.io/package/architect-debug-logger

## Dependencies (5)

- [lodash](https://npm.io/package/lodash.md) 4.6.1
- [moment](https://npm.io/package/moment.md) 2.12.0
- [winston](https://npm.io/package/winston.md) 2.2.0
- [cli-color](https://npm.io/package/cli-color.md) 1.1.0
- [winston-daily-rotate-file](https://npm.io/package/winston-daily-rotate-file.md) 1.0.1

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-04-08
- 1.1.0 (@) — 2019-07-18
- 1.0.4 — 2016-04-08
- 1.0.2 — 2016-04-05
- 1.0.1 — 2016-03-29
- 1.0.0 — 2016-03-29

## README

Config Format

{
  "packagePath": "architect-debug-loggerr",
  "exitOnError": false,
  "transports": {
    "console": {
      "colorize": true,
      "level": "verbose"
    },
    "file": {
      "filename": "./logs/errors.log",
      "level": "warn"
    }
  }
}

Usage

Let's use that puppy in our plugin

module.exports = function (options, imports, register) {

  var log = imports.logger;

  logger.info("Hello!");
  logger.warn("Uh oh! There's an error coming...");
  logger.error("We're going down");

};

---
_Source: https://npm.io/package/architect-debug-logger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
