Skip to content

Commit

Permalink
use scoped electronLog in remote.server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlee337 committed Mar 12, 2024
1 parent 807d82b commit 679e1e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/remote/remote.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { DolphinManager } from "@dolphin/manager";
import type { DolphinPlaybackClosedEvent, ReplayCommunication } from "@dolphin/types";
import { DolphinEventType, DolphinLaunchType } from "@dolphin/types";
import type { SettingsManager } from "@settings/settings_manager";
import log from "electron-log";
import electronLog from "electron-log";
import http from "http";
import { throttle } from "lodash";
import type { AddressInfo } from "net";
Expand All @@ -15,6 +15,7 @@ import type { SpectateWorker } from "./spectate.worker.interface";
import { createSpectateWorker } from "./spectate.worker.interface";

const SPECTATE_PROTOCOL = "spectate-protocol";
const log = electronLog.scope("remote.server");

export default class RemoteServer {
private dolphinManager: DolphinManager;
Expand Down

0 comments on commit 679e1e6

Please sign in to comment.