Skip to content

Commit

Permalink
Lighter color in console
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed May 7, 2012
1 parent f371772 commit 306ba1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Controller.prototype.perform = function (actionName, req, res, nextRoute) {

log('');
log($((new Date).toString()).yellow + ' ' + $(this.id).bold);
log($(req.method).bold, $(req.url).grey, 'controller:', $(this.controllerName).green, 'action:', $(this.actionName).blue);
log($(req.method).bold, $(req.url).grey, 'controller:', $(this.controllerName).cyan, 'action:', $(this.actionName).blue);

if (req.query && Object.keys(req.query).length) {
log($('Query: ').bold + JSON.stringify(req.query));
Expand Down Expand Up @@ -363,7 +363,7 @@ Controller.prototype.perform = function (actionName, req, res, nextRoute) {
req.inAction = method.isAction;
if (logActions && method.customName) {
if (method.isAction) {
log('>>> perform ' + $(method.customName).bold.blue);
log('>>> perform ' + $(method.customName).bold.cyan);
} else {
log('>>> perform ' + $(method.customName).bold.grey);
}
Expand Down

0 comments on commit 306ba1d

Please sign in to comment.