Skip to content

Commit

Permalink
refactor(rstream-query): update LOGGER handling
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 16, 2024
1 parent e3e18ab commit fc1df24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/rstream-query/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("rs-query");

0 comments on commit fc1df24

Please sign in to comment.