We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d540785 commit 5b505bfCopy full SHA for 5b505bf
src/bluetooth.common.ts
@@ -11,7 +11,7 @@ export enum CLogTypes {
11
}
12
13
export const CLog = (type: CLogTypes, ...args) => {
14
- Trace.write(args.join(' '), BleTraceCategory, type);
+ Trace.write(args.map(a=>(a && typeof a === 'object'? JSON.stringify(a) :a)).join(' '), BleTraceCategory, type);
15
};
16
17
export class BluetoothError extends BaseError {
0 commit comments