# angular-log-decorator

> $log decorator that replaces the debug method with one that shows the whole call stack

Latest version **1.0.2** (published 2016-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-log-decorator
pnpm add angular-log-decorator
yarn add angular-log-decorator
bun add angular-log-decorator
```

## 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.2 |
| Published | 2016-04-18 |
| First published | 2016-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Knorcedger |
| Maintainers | knorcedger |
| Keywords | $log, angular, debug, decorator, log |

## Links

- npm: https://www.npmjs.com/package/angular-log-decorator
- Repository: https://github.com/Knorcedger/angular-log-decorator
- Issues: https://github.com/Knorcedger/angular-log-decorator/issues
- npm.io page: https://npm.io/package/angular-log-decorator

## 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.2 (latest) — 2016-04-18
- 1.0.1 — 2016-04-18

## README

# angular-log-decorator [![Build Status](https://travis-ci.org/Knorcedger/angular-log-decorator.png?branch=master)](https://travis-ci.org/Knorcedger/angular-log-decorator)

$log decorator that replaces the debug method with one that shows the whole call stack.  

This is a decorator that modifies the $log service. It replaces the debug
method with one that displays a group with logs.  
This group contains an object with the data & meta and the error stack
from the Error object. The error stack provides a trace of which functions
were called, in what order, from which line and file.

## Installation

Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
npm install angular-log-decorator --save
```

## Tests

```sh
npm install
npm test
```

## Dev Dependencies

- [eslint](https://github.com/eslint/eslint): An AST-based pattern checker for JavaScript.
- [eslint-config-google](https://github.com/google/eslint-config-google): ESLint shareable config for the Google style


## License

MIT

_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_

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