0.5.0 • Published 10 years ago

grunt-bunyan v0.5.0

Weekly downloads
179
License
-
Repository
github
Last release
10 years ago

grunt-bunyan

Grunt plugin for piping grunt output through bunyan cli.

Installation

Install grunt-bunyan using npm:

$ npm install grunt-bunyan

Then add this line to your project's Gruntfile.js:

grunt.loadNpmTasks('grunt-bunyan');

Configuration

grunt.initConfig({
    bunyan: {
        strict: true, // prevent non-bunyan logs from being outputted
        level: 'trace', // show all the things!
        output: 'short', // least verbose
    }
});

Usage

grunt bunyan [task] ...

where the bunyan task is followed by tasks that output bunyan logging that you wish to filter

Filtering by name

grunt bunyan:log-name [task] ...

to show the output for multiple logs, just keep specifying log names

grunt bunyan:log-name1:log-name2:log-name3 [task] ...

you can also just combine grunt tasks to achieve the same thing

grunt bunyan:log-name1 bunyan:log-name2 [task] ...

to hide a specific log's output, use ~ before the log name

grunt bunyan:~unwanted-log-name [task] ...
0.5.0

10 years ago

0.4.3

10 years ago

0.4.1

11 years ago

0.4.0

11 years ago

0.3.4

11 years ago

0.3.3

11 years ago

0.3.2

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago