@bahatron/logger
event based logger
Last updated 4 months ago by bahatron .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bahatron/logger 
SYNC missed versions from official npm registry.

Logger

import { createLogger } from "@bahatron/logger";

let myLogger = createLogger({
    debug: false,
    id: "my logger id",
});

myLogger.on("warning", (context) => {
    // do your thing
});

myLogger.warning("warning", { foo: "bar" });

Current Tags

  • 3.0.3                                ...           latest (16 days ago)

24 Versions

  • 3.0.3                                ...           16 days ago
  • 3.0.2                                ...           16 days ago
  • 3.0.1                                ...           a month ago
  • 3.0.0                                ...           2 months ago
  • 2.0.3                                ...           3 months ago
  • 2.0.2                                ...           3 months ago
  • 2.0.1                                ...           3 months ago
  • 2.0.0                                ...           3 months ago
  • 1.2.3                                ...           4 months ago
  • 1.2.2                                ...           4 months ago
  • 1.2.1                                ...           4 months ago
  • 1.2.0                                ...           4 months ago
  • 1.1.9                                ...           4 months ago
  • 1.1.8                                ...           4 months ago
  • 1.1.7                                ...           4 months ago
  • 1.1.6                                ...           4 months ago
  • 1.1.5                                ...           4 months ago
  • 1.1.4                                ...           5 months ago
  • 1.1.3                                ...           5 months ago
  • 1.1.2                                ...           5 months ago
  • 1.1.0                                ...           5 months ago
  • 1.0.3                                ...           5 months ago
  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 27
Dependencies (8)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |