# axe-logger

> A lightweight logger with multiple appenders

Latest version **0.0.2** (published 2014-07-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install axe-logger
pnpm add axe-logger
yarn add axe-logger
bun add axe-logger
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-07-25 |
| First published | 2014-07-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Felix Hammerl |
| Maintainers | felixhammerl |
| Keywords | logging |

## Links

- npm: https://www.npmjs.com/package/axe-logger
- Repository: https://github.com/whiteout-io/axe
- Issues: https://github.com/whiteout-io/axe/issues
- npm.io page: https://npm.io/package/axe-logger

## 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

- 0.0.2 (latest) — 2014-07-25

## README

# axe

A lightweight logger as UMD module with multiple appenders.

[![Build Status](https://travis-ci.org/whiteout-io/axe.svg?branch=master)](https://travis-ci.org/whiteout-io/axe)

## Use

    // require in node and requireJS
    var axe = require('axe');

    // log stuff
    axe.debug('DEBUG TAG', 'MESSAGE');
    axe.info('DEBUG TAG', 'MESSAGE');
    axe.warn('DEBUG TAG', 'MESSAGE');
    axe.error('DEBUG TAG', 'MESSAGE');

    // log levels
    axe.DEBUG
    axe.INFO
    axe.WARN
    axe.ERROR
    
    // change the log level
    axe.logLevel = axe.DEBUG; // this is the default

    // appenders
    axe.defaultAppender // logs to the console

    var appender = {
        log: function(level, date, component, message) {
            // do stuff
        }
    }    
    axe.addAppender(appender);
    axe.removeAppender(appender);

    // dump all logs
    axe.dump(appender);

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