sergees
sergees
DDeno
Created by sergees on 4/15/2024 in #help
Send request (fetch) via a specific network interface
3 replies
DDeno
Created by sergees on 2/1/2024 in #help
Choose level for std logger
Nice! One thing I’m missing in std logger is the trace level
13 replies
DDeno
Created by sergees on 2/1/2024 in #help
Choose level for std logger
Ah okay levelName seems to work
13 replies
DDeno
Created by sergees on 2/1/2024 in #help
Choose level for std logger
The level doesn’t seem to have a setter, so this code won’t work:
const logger = getLogger('my_logger');
logger.level = 'DEBUG';
const logger = getLogger('my_logger');
logger.level = 'DEBUG';
13 replies
DDeno
Created by sergees on 2/1/2024 in #help
Choose level for std logger
There a function getLogger which return logger instance. It only accepts name as a parameter, no way to pass level there.
13 replies
DDeno
Created by sergees on 1/27/2024 in #help
Using fresh inside an existing deno folder
Seems to be working with lots of deprecation warnings though (1.40.2)
6 replies
DDeno
Created by sergees on 1/27/2024 in #help
Using fresh inside an existing deno folder
I’ve tried to do this: merged the contents of my parent deno.jsonc and from the one in fresh subfolder, also changed the start command as described here: https://fresh.deno.dev/docs/examples/changing-the-src-dir
6 replies
DDeno
Created by herenickname on 12/7/2023 in #help
Linter does not warn about lack of constructor arguments.
In my situation I have 10 sub-folders with deno/TS code and more 5 folders. I’m wondering what’s a good way to type-check those 10 folders.
9 replies
DDeno
Created by herenickname on 12/7/2023 in #help
Linter does not warn about lack of constructor arguments.
It looks like deno check **/*.ts doesn’t respect the "exclude" from deno config file (unlike lint and fmt). Is it something expected?
9 replies