Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-12436] Enabled padding for non-log() messages such as info, debug, etc. #28

Merged
merged 2 commits into from
Jan 26, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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