Skip to content

Commit

Permalink
Remove unused log args
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Sep 4, 2015
1 parent fc3bc52 commit 857e9bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ var util = require('util'),
chalk = require('chalk'),
config = require('./config');

function log(message) {
function log() {
console.log.apply(console, arguments);
}

function bold(message) {
function bold() {
log(chalk.bold.apply(chalk, arguments));
}

Expand All @@ -24,7 +24,7 @@ function dir(obj) {
log(util.inspect(obj));
}

function verbose(message) {
function verbose() {
if(config.isVerbose()) {
log.apply(null, arguments);
}
Expand All @@ -36,7 +36,7 @@ function verboseDir(obj) {
}
}

function debug(message) {
function debug() {
if(config.isDebug()) {
log.apply(null, arguments);
}
Expand Down

0 comments on commit 857e9bc

Please sign in to comment.