Ability to modify log level from the JavaScript API #2044
natemoo-re
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
Ah you're right, we handle those flags in the CLI, outside of our programatic API. +1 for moving this into the config object. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Relevant comment for anyone looking to control logging more: #2559 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There are cli flags like
--quiet
and--verbose
, but I don't see a way to control the logger when invokingbuildProject
orstartDevServer
from Snowpack's JS API.Any options to control the logger would be very handy for projects like Microsite which leverage Snowpack internally. When I'm using
startDevServer
, it automatically logs the message below, but Microsite users may be confused because their project is actually served on a different port and they don't need to know about Snowpack.Beta Was this translation helpful? Give feedback.
All reactions