Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 70f016a

Browse files
committed
Merge branch 'dev'
2 parents 3a2dcb9 + 0e511dd commit 70f016a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Version 0.1.14
2+
--------------
3+
Release Date: 5 May 2015
4+
* Add timestamp to the log entries.
5+
16
Version 0.1.13
27
--------------
38
Release Date: 1 May 2015

lib/log.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,9 @@ Logger.prototype.log = function(level, message, error) {
149149
}
150150

151151
var correlationId = this._logContext.correlationId || '<no correlation id>';
152+
var timeStamp = new Date().toUTCString();
152153

153-
var formattedMessage = correlationId + ' - ' + this._componentName + ': ' + LEVEL_STRING_MAP[level] + ' ' + message;
154+
var formattedMessage = timeStamp + ':' + correlationId + ' - ' + this._componentName + ': ' + LEVEL_STRING_MAP[level] + ' ' + message;
154155
if (error) {
155156
formattedMessage += '\nStack:\n' + error.stack;
156157
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"url": "https://github.com/MSOpenTech/azure-activedirectory-library-for-nodejs.git"
1717
},
18-
"version": "0.1.13",
18+
"version": "0.1.14",
1919
"description": "Windows Azure Active Directory Client Library for node",
2020
"keywords": [ "node", "azure", "AAD", "adal", "adfs", "oauth" ],
2121
"main": "./lib/adal.js",

0 commit comments

Comments
 (0)