Skip to content

Commit

Permalink
Merge pull request #28 from appcelerator/timob-12436
Browse files Browse the repository at this point in the history
[TIMOB-12436] Enabled padding for non-log() messages such as info, debug, etc.
  • Loading branch information
Bryan Hughes committed Jan 26, 2013
2 parents 39a6669 + b567596 commit 28e0027
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
3.0.x
-------------------
* Enabled padding for non-log() messages such as info, debug, etc [TIMOB-12436]

3.0.23 (1/21/2013)
-------------------
* Fixed bug with setup command where an error occurs when a previously saved active SDK version is invalid [TIMOB-12268]
Expand Down
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ logger.log = function () {
args[0] in logger.levels || args.unshift('_');

// turn off padding
logger.padLevels = false;
logger.padLevels = args[0] != '_';

// get rid of any null args
while (args.length && args[args.length-1] == null) args.pop();
Expand Down

0 comments on commit 28e0027

Please sign in to comment.