Skip to content

Commit

Permalink
simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
sadym-chromium committed Jul 13, 2021
1 parent c8b8408 commit 42f3cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bidiMapper/utils/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
export function log(type: string): (...message: any[]) => void {
return (...messages: any[]) => {
console.log.apply(null, [type].concat(messages));
console.log(type, ...messages);

// If run in browser, add debug message to the page.
if (typeof window !== 'undefined' && window?.document?.documentElement) {
Expand Down

0 comments on commit 42f3cc1

Please sign in to comment.