Skip to content

Commit 18df1e9

Browse files
committed
Added wrapper around Winston for use with Meteor, Meteorite and Atmosphere
1 parent 5ebe51e commit 18df1e9

File tree

5 files changed

+32
-3
lines changed

5 files changed

+32
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.npm
2+
.git

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
meteor-winston
2-
==============
1+
Winston
2+
===============
3+
A wrapper around [winston](https://github.com/flatiron/winston.git) for use with [Meteorite](https://github.com/oortcloud/meteorite) ontop of [Meteor](http://meteor.com)
4+
5+
##Install
6+
mrt add winston
7+
8+
##Usage
9+
winston = Winston;
310

4-
Meteor wrapper for winston logging library (https://github.com/flatiron/winston.git)

package.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Package.describe({
2+
summary: 'A multi-transport async logging library for node.js. "CHILL WINSTON! ... I put it in the logs."'
3+
});
4+
5+
Npm.depends({
6+
"winston": "0.7.1"
7+
});
8+
9+
Package.on_use(function (api, where) {
10+
api.add_files('winston.js', 'server');
11+
});

smart.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "winston",
3+
"description": "Winston logging library, packaged for Meteor",
4+
"homepage": "https://github.com/tomrogers3/meteor-winston",
5+
"author": "Tom Rogers <[email protected]>",
6+
"version": "0.0.1",
7+
"git": "https://github.com/tomrogers3/meteor-winston.git",
8+
"packages": {}
9+
}

winston.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Winston = Npm.require("winston");

0 commit comments

Comments
 (0)