Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
neilenns committed Jan 13, 2025
1 parent 3bad519 commit 96c7e96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/controllers/mainVolume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ import { handleAsyncException } from "@utils/handleAsyncException";
import { stringOrUndefined } from "@utils/utils";
import debounce from "debounce";
import { BaseController } from "./baseController";
import mainLogger from "@utils/logger";

const logger = mainLogger.child({ service: "mainVolumeController" });

const defaultConnectedTemplatePath = "images/actions/mainVolume/template.svg";
const defaultNotConnectedTemplatePath =
Expand Down Expand Up @@ -145,11 +142,6 @@ export class MainVolumeController extends BaseController {
}

private refreshTitle(): void {
logger.info(
`mainVolume refresh title, isVoiceConnected is ${
trackAudioManager.isConnected ? "true" : "false"
}`
);
if (!trackAudioManager.isVoiceConnected) {
this.action
.setFeedback({
Expand Down
1 change: 0 additions & 1 deletion src/events/trackAudio/mainVolumeChange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const handleMainVolumeChange = (data: MainVolumeChange) => {

try {
actionManager.getMainVolumeControllers().forEach((entry) => {
logger.info(`Setting mainVolume to ${data.value.volume.toString()}`);
entry.volume = data.value.volume;
});
} catch (error: unknown) {
Expand Down

0 comments on commit 96c7e96

Please sign in to comment.