https://github.com/dresende/node-houston
NodeJS logging framework
https://github.com/dresende/node-houston
Last synced: 3 months ago
JSON representation
NodeJS logging framework
- Host: GitHub
- URL: https://github.com/dresende/node-houston
- Owner: dresende
- License: mit
- Created: 2012-01-20T15:22:05.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-07-02T23:50:01.000Z (over 12 years ago)
- Last Synced: 2025-09-19T23:16:12.731Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Houston 
=======
## About
Houston is a logging framework designed to be used by several modules. Every module
grabs an instance of the logging with a unique or shared id and write different types
of log items. You can globally manage transports, silence logging types or an entire
logging id.
## Installing
Install using NPM:
npm install houston
## Usage
var log = require("houston")("my-module");
log.info("Hello world");
## Features
- Global log access
- Control log format/date format globally
- Colors (std transport detects possible colors)
- Logs devided into uids (module name, section, whatever you want)
- 4 types of logging: info, warn, error, debug
- Ability to silence a specific log uid
- Multiple transports (bundled: std, file, mysql)
- Each transport has it's own options and can be added multiple times (logging to 2 files)
- Each transport has a set of tools
- Filter certain uids for a specific transport (log a specific set of modules to a specific file, only error messages)
## Documentation
No time right now to do it. Check examples, I usually do an example for each feature I develop. Anything you want
to ask, put it in an issue.