X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FLogger.ts;h=ffe8b3a5394431a13548e6110bfd2d08f1d009a3;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=e70ca9bceea59028f901ceb9bc53139dd6690cb7;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Logger.ts b/ts/structs/Logger.ts index e70ca9bc..ffe8b3a5 100644 --- a/ts/structs/Logger.ts +++ b/ts/structs/Logger.ts @@ -32,8 +32,9 @@ import * as bindings from '../bindings' // TODO: figure out location const impl_holder: LDKLoggerHolder = new LDKLoggerHolder(); let structImplementation = { // todo: in-line interface filling - log (record: String): void { - arg.log(record); + log (record: number): void { + const record_hu_conv: Record = new Record(null, record); + arg.log(record_hu_conv); }, @@ -43,7 +44,7 @@ import * as bindings from '../bindings' // TODO: figure out location } export interface LoggerInterface { - log(record: String): void; + log(record: Record): void; }