Skip to content

Logger implemented especially to run in browser

License

Notifications You must be signed in to change notification settings

Mamoru1234/log4ui

Repository files navigation

log4ui

npm version Build Status Coverage Status Gitter

Motivation

During development and debugging naturally we are adding a lot of logs of different levels, but native console object is not so granular. In other words you do not have any categories, labels or some other identifier which allows to enable logs for some module and disable them for other one.

Key features

  • Categories - split your logs by categories to see only what needed.
  • Runtime configuration - all your configuration could be changed in runtime. This allows to enable logs for some category based on some condition ot using browser console.
  • Persistence of configuration - your configuration is persisted using StoreAdapter(localStorage by default). This allows to you to create personalized configuration without changing source code at all(for example using browser console).