residue
Advanced tools
Comparing version 2.1.8 to 2.1.9
# Change Log | ||
## [2.1.8] | ||
## [2.1.9] | ||
- Introduced native binding | ||
@@ -5,0 +5,0 @@ |
@@ -26,15 +26,15 @@ // | ||
this.trace = (fmt, ...args) => this._send_log_msg(residue_native.trace, CommonUtils.LoggingLevels.Trace, undefined, fmt, ...args); | ||
this.trace = (fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Trace, undefined, fmt, ...args); | ||
this.debug = (fmt, ...args) => this._send_log_msg(residue_native.debug, CommonUtils.LoggingLevels.Debug, undefined, fmt, ...args); | ||
this.debug = (fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Debug, undefined, fmt, ...args); | ||
this.fatal = (vlevel, fmt, ...args) => this._send_log_msg(residue_native.verbose, CommonUtils.LoggingLevels.Fatal, vlevel, fmt, ...args); | ||
this.fatal = (vlevel, fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Fatal, vlevel, fmt, ...args); | ||
this.error = (fmt, ...args) => this._send_log_msg(residue_native.error, CommonUtils.LoggingLevels.Error, undefined, fmt, ...args); | ||
this.error = (fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Error, undefined, fmt, ...args); | ||
this.warning = (fmt, ...args) => this._send_log_msg(residue_native.warning, CommonUtils.LoggingLevels.Warning, undefined, fmt, ...args); | ||
this.warning = (fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Warning, undefined, fmt, ...args); | ||
this.verbose = (vlevel, fmt, ...args) => this._send_log_msg(residue_native.verbose, CommonUtils.LoggingLevels.Verbose, vlevel, fmt, ...args); | ||
this.verbose = (vlevel, fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Verbose, vlevel, fmt, ...args); | ||
this.info = (fmt, ...args) => this._send_log_msg(residue_native.info, CommonUtils.LoggingLevels.Info, undefined, fmt, ...args); | ||
this.info = (fmt, ...args) => this._send_log_msg(CommonUtils.LoggingLevels.Info, undefined, fmt, ...args); | ||
@@ -50,3 +50,9 @@ // private | ||
fn(this.id, CommonUtils.getSourceFile(5), CommonUtils.getSourceLine(5), CommonUtils.getSourceFunc(5), util.format(fmt, ...cpy), level, vlevel); | ||
residue_native.write_log(this.id, | ||
CommonUtils.getSourceFile(5), | ||
CommonUtils.getSourceLine(5), | ||
CommonUtils.getSourceFunc(5), | ||
util.format(fmt, ...cpy), | ||
level, | ||
vlevel); | ||
} | ||
@@ -53,0 +59,0 @@ }; |
{ | ||
"name": "residue", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"description": "Library to interact with residue server seamlessly.", | ||
@@ -5,0 +5,0 @@ "main": "lib/residue.js", |
35283
662