g3log | default logging sinks or you can add
kandi X-RAY | g3log Summary
kandi X-RAY | g3log Summary
Most of the API that you need for using g3log is described in this readme. For more API documentation and examples please continue to read the API readme. Examples of what you will find here are:. G3log aims to keep all background logging to sinks with as little log overhead as possible to the logging sink and with as small "worst case latency" as possible. For this reason g3log is a good logger for many systems that deal with critical tasks. Depending on platform the average logging overhead will differ. On my 2010 laptop the average call, when doing extreme performance testing, will be about ~2 us. The worst case latency is kept stable with no extreme peaks, in spite of any sudden extreme pressure. I have a blog post regarding comparing worst case latency for g3log and other loggers which might be of interest. You can find it here: If you like this logger (or not) it would be nice with some feedback. That way I can improve g3log and g2log and it is also nice to see if someone is using it. If you have ANY questions or problems please do not hesitate in contacting me on my blog or at Hedstrom at KjellKod dot cc. This logger is available for free and all of its source code is public domain. A great way of saying thanks is to send a donation. It would go a long way not only to show your support but also to boost continued development.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of g3log
g3log Key Features
g3log Examples and Code Snippets
Community Discussions
Trending Discussions on g3log
QUESTION
I am new to g3log. I compiled and ran one of the examples I found in the repo, but was not able to ,modify it to print the log messages to the console rather than a file. The following lines from the example set the logger:
...ANSWER
Answered 2018-Jul-22 at 02:42You could define a customized sink class with a message receiver function that forward the stripped message to console without formatting. Below is simplest form of the implementation:
QUESTION
My background is in regular makefiles, I'm trying to convert our project to a CMake setup.
I get stuck when I try to include g3log as a subproject.
I added the following lines in my CMakeLists.txt. Note, that ../../external/g3log_src is the top level directory of the third party product.
...ANSWER
Answered 2017-Oct-11 at 08:39When link with the 3d-party library, you should use library name, not a project name. In case of g3log, the library name is g3logger
.
Also, building 3d-party project should prepend using it:
QUESTION
I am using CMake GUI
(no version) with CMake
3.6.1. I am using an external module with add_subdirectory
that shows me some warnings that I do not like (because of the annoying pollution):
ANSWER
Answered 2017-Jan-17 at 20:30Turning my comments into an answer
That sounds like your external module does have a project()
command. This resets the policies for this sub-module and below.
To demonstrate a possible solution, lets say you have a external project as the following:
g3log/CMakeLists.txt
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install g3log
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page