optic
optic copied to clipboard
A powerful logging framework for Deno
Hi folks, Thanks for your great work =D Is there any way to setup it to send the logs to a graylog server? Thnak you.
In FileStream builder, the value of withAutoFlushEvery expects TimeInterval. But either TimeInterval or intervalOf function wasn't exported anywhere. ### Usage ```typescript new FileStream("log.jsonl") .withAutoFlushEvery(intervalOf(5).seconds()) ```
Looks like there are checks for a removed permission that fail now in Deno 2.0: ``` error: Uncaught (in promise) TypeError: The provided value "hrtime" is not a valid permission...
Your package: https://jsr.io/@onjara/optic/2.0.3/streams/fileStream It has no `mod.ts` file so you cannot import it like this: ``` import { every, FileStream, of, } from "jsr:@onjara/[email protected]/streams"; ``` It fails so only https...