loggerbridge.mjs
mjs
import { listen } from '@tauri-apps/api/event';
import { logger } from '../core/logger.mjs';
// listen for log events from the Tauri backend and log in the UI
await listen('log-event', (e) => {
  if (e.payload == null) {
    return;
  }
  const { message, message_type } = e.payload;
  logger(message, message_type);
});
556e643

soundAlias example fix

@akodera@proton.me
0 stars

This is an instance of the Strudel app running on The Skyscape

Sign in to comment Sign In