Implement graph-ts numbers, typeConversion and log host APIs (#64)

* Implement host api for bigint operations

* Implement type conversion APIs

* Avoid use of exports as variable name for conflict

* Implement log API with debug and levels

* Fix job-runnner hook error after stopping and starting chain
This commit is contained in:
2021-12-28 16:08:05 +05:30
committed by nabarun
parent 970092ece2
commit faf046d181
10 changed files with 304 additions and 44 deletions
+8
View File
@@ -72,3 +72,11 @@ export class Bar {
return this.prop;
}
}
export function testLog (): void {
log.debug('Debug message: {}, {}', ['value1', 'value2']);
log.info('Info message: {}', ['value1', 'value2']);
log.warning('Warning message', []);
log.error('Error message', []);
log.critical('Critical message', []);
}