Improved method of wrapping.
#FA-8, #FA-10
This commit is contained in:
@ -25,11 +25,11 @@ LogUtils.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
write: function(message, options){
|
||||
write: function(message, options = {}){
|
||||
var {
|
||||
type = "info",
|
||||
timestamp = new Date(),
|
||||
funcName = "Unknown",
|
||||
funcName = "",
|
||||
currentRecord = current
|
||||
} = options;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user