I've been following along with The Cherno's game engine series, and I've run into an issue I can't seem to fix. This is the only part of the series so far that I don't understand, and nothing I've found on the internet has helped.
We're creating an…
I am facing a little problem.
I need to use spdlog to log and I have custom classes.
And since, spdlog is able to deal with user defined classes, I could use it log my classes.
But, I my real application, I would like to feed spdlog with a pointer…
I was debugging a C++ code and stumbled upon a weird behavior from spdlog, where some debug and trace statements are skipped (I haven't tried with other log levels but I suspect they would have the same problem).
Here is the code fragment in…
I am trying to redirect my log in a qtextedit windows. I use this post : Redirecting std::cout from DLL in a separate thread to QTextEdit.
Here is my test program :
q_debugstream.h
#ifndef ThreadLogStream_H
#define ThreadLogStream_H
#include…
I am new to c++, please don't grill too much. I am trying to use spdlog in C++ program and using CLion from Jetbrains.
Here is my screenshot but don't know what I am doing wrong. Please advise what I am doing wrong .
This is my main.cpp
#include…
my use case is to just use spdlog as my serialization library. For example. I would like to output json data, but the timestamp goes together with the json make it an invalid json syntax. Of course I could remove the time stamp programmatically…
I have a simple CMake project and try to use the spdlog library (version 1.5.0) installed by conan.
But when building I get the following error:
undefined reference to `spdlog::get(std::__cxx11::basic_string,…
I've come across a problem that I can't seem to fix. I'm trying to build a project which makes use of a logging library called spdlog but it won't build when I use it in my project. MinGW64 reports that there's multiple definitions for some…
I am using spdlog, opengl, glad, and glfw in my project. No matter what error I am receiving, it is ALWAYS preceded by the 4 same errors. For example, let's say I have the following code:
std::cout << "sup";
then it will run perfectly. Okay now,…
I am trying to log basic information in a text file while performing testing with google test. My ultimate goal is to log the trace of an exception.
In the project I am using C++11, the latest version of Google tests added to the project through…
I have changed the logging and printout of messages in one of my application by the spdlog library. Everything works within the code that I control. The issue that I faced is that I do not manage to redirect the print out and other error messages…
Yesterday I have started including spdlog into a personal project of mine to use for logging. So far I have had some problems with getting library inclusion to work but those are now solved completely.
Now everything compiles just fine, with all…
I have working logging in Visual studio project using spdlog. I used the same project in Qt creator, then the spdlog logging does not output anything. But the std::cout still works and prints to Qt creator's application output window.…
I wondering how to attach windows debug logger to spdlog, which claim that it support Windows Debug Log (OutputDebugString)
I can't find any example to do that.
Thanks