Skip to content

Commit

Permalink
refactor(shader-ast): update LOGGER handling
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 16, 2024
1 parent fc1df24 commit a388a75
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/shader-ast/src/logger.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ILogger } from "@thi.ng/logger";
import { NULL_LOGGER } from "@thi.ng/logger/null";
import { ROOT } from "@thi.ng/logger/root";

export let LOGGER = NULL_LOGGER;

export const setLogger = (logger: ILogger) => (LOGGER = logger);
/**
* See [thi.ng/logger](https://docs.thi.ng/umbrella/logger/) for usage.
*/
export const LOGGER = ROOT.childLogger("shader-ast");

0 comments on commit a388a75

Please sign in to comment.