// Returns the current time in microseconds.
now : function () {
- if (typeof performance !== 'undefined') {
- return performance.timing.navigationStart + performance.now();
- }
-
- if (typeof Microtime !== 'undefined') {
- return Microtime.nowDouble() * 1000;
- }
-
- return Date.now();
+ this.constructor.now();
},
_levelString : function (level) {