Answer the question
In order to leave comments, you need to log in
A handy library with an interface similar to console.* from browser APIs
An example of a log code in JS. Is there something similar for C++?
console.group("Scene");
console.log("Log#1");
console.group("Object");
console.log("build");
console.warn("warn!");
console.groupEnd("Object");
console.groupEnd("Scene");
Answer the question
In order to leave comments, you need to log in
Isn't it easier to write logs in YML, for example (in this case, it will not be difficult to implement the listed methods, and decent text editors can collapse branches).
I don't remember a solution.
Here I am now making my bike for logs, in general, you can try to fasten what you want, but how will it work? A tree that grows in all directions? Or a tree of some channels that can be screwed (something similar exists now)? I think that closer to December I will draw up and lay out, but I will be glad for tips and requests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question