You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm seeing this log message when including the library. I want to hide it in production. Please add an option to enable/disable debugging or remove this log message.
ππππππππππππππππππππππ
π Thank you for using ml5.js v1.0.1 π
βββ
This is an experimental and unstable version
of ml5.js. Please feel free to report any bugs
via the methods listed below.
βββ
Please read our community statement to ensure
that the use of this software reflects the values
of the ml5.js community:
β³ https://ml5js.org/about
Reporting:
β³ https://github.com/ml5js/ml5-next-gen/issues
β³ Email: [email protected]
ππππππππππππππππππππππ
The text was updated successfully, but these errors were encountered:
boussaidev
changed the title
Disable log message on production
Hide Debug Log Messages in Production
Aug 15, 2024
Hi, @boussaidev, thank you for submitting this issue!
Currently, this message is logged almost immediately after the ml5 script gets loaded. I don't think there is a simple way to add a hide option since it has to be set/called before the message is logged.
If we decide to implement the hide option, we could delay the console log until the first ml5 model gets initialized, so there is a chance to call the hide option.
@shiffman Have this been brought up in discussions before? How do we feel about adding an option to hide the community statement console log?
Hello, I'm seeing this log message when including the library. I want to hide it in production. Please add an option to enable/disable debugging or remove this log message.
The text was updated successfully, but these errors were encountered: