Code Monkey home page Code Monkey logo

Comments (4)

tdapper avatar tdapper commented on June 7, 2024 2

I guess that is something we should do on the side of the Laubwerk Python extension. Will look into that!

from thicket.

tdapper avatar tdapper commented on June 7, 2024 1

Just an an update: This has been solved internally and will be part of the next update (probably an upcoming version 1.0.42). What will happen, is that the laubwerk module gets a set_logger() function. You can pass a Python logger or really any other object in there. If that object has warning(), debug(), info() etc functions like the logger, those functions will get called. Therefore, to just get the extension to shut up, you can pass an object that doesn't have those functions and that will just silence it. If the function never is called or is called with None, it will fall back to just printing. However, it will now print those messages to stderr instead of stdout now.

from thicket.

tdapper avatar tdapper commented on June 7, 2024

Just fyi: This has been added to our issue tracker as LBWPY-148.

from thicket.

dvhart avatar dvhart commented on June 7, 2024

Thanks @tdapper will watch for it. Should be a simple patch to incorporate as we moved to loggers for Blender a little while back. Appreciate the heads up!

from thicket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.