Skip to content

Commit 0b44c79

Browse files
committed
chore: better logging
1 parent cd72d3f commit 0b44c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collectionview-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export enum CLogTypes {
7171
}
7272

7373
export const CLog = (type: CLogTypes, ...args) => {
74-
Trace.write(args.join(' '), CollectionViewTraceCategory, type);
74+
Trace.write(args.map(a=>(a && typeof a === 'object'? JSON.stringify(a) :a)).join(' '), CollectionViewTraceCategory, type);
7575
};
7676

7777
const autoEffectiveRowHeight = 0;

0 commit comments

Comments
 (0)