spdlog file log not working #3580
              
                Unanswered
              
          
                  
                    
                      linrongbin16
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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.
-
Hi, I am trying to use spdlog with basic/rotating file logger as logging component in my pybind11 module.
I add a static
LogInitializervariable in module, which will call it's constructor to initialize spdlog file logger.When I import my pybind11 module from python3 console, the spdlog log file is created, but nothing is actually written into the file. I tried several times and nothing written down.
Would you please help me ?
Beta Was this translation helpful? Give feedback.
All reactions