-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[webgl] Debug option for console.log
in defShader
?
#217
Comments
Hey @stwind - thank you, this was an oversight/leftover effect from older times. I'd already switched the package to using a configurable logger rather than plain For future reference (should create a wiki page for this) to enable/configure logging for this and other packages, do: import { ConsoleLogger, LogLevel } from "@thi.ng/api";
import { setLogger } from "@thi.ng/webgl";
setLogger(new ConsoleLogger("webgl", LogLevel.DEBUG)); By default only a |
Added wiki page with further details: Package specific logger configuration Hth! |
@stwind Btw. Will do another release tonight... |
@postspectacular Awesome! Thanks! |
@stwind v1.0.4 now available :) |
defShader
prints the compiled programs in console. When working with multiple shaders I found the console logs a bit consufing. Would it be a good idea to add an option toggling this feature? something like:The text was updated successfully, but these errors were encountered: