Kjell Hedstrom
a068575595
removed comments. improved death test
2015-08-31 22:30:48 -06:00
Kjell Hedstrom
671fd01aa1
This is made to NOT compile ... lines that don't compile are sections I need to check out
...
exhausted stack. kill vs exit. using libunwind or backtrace but with symoblizer should be tested
and blogged about(?)
2015-08-27 08:02:18 -06:00
Kjell Hedstrom
bc4459d779
Merge pull request #37 from KjellKod/filter
...
preparation for g3sinks: Filter
2015-08-19 08:51:18 -06:00
Kjell Hedstrom
14a46f4567
Swap is less affective
2015-08-12 07:39:09 -06:00
Kjell Hedstrom
c6a0c28435
removed iostream previously used for temporary visibility
2015-08-12 06:48:55 -06:00
Kjell Hedstrom
8dfe9e0716
Improved copy constructors and assignment operator which is needed now when LOGLEVELS can be made on the fly
2015-08-12 06:43:24 -06:00
Kjell Hedstrom
88fc290d45
Merge pull request #36 from AlphaCluster/build-readme-cleanup
...
Changing the markdown for build examples
2015-08-06 22:31:51 -06:00
Nicholas Omann
60b3a4c359
Changing the markdown for build examples
2015-08-06 21:40:11 -05:00
Kjell Hedstrom
49aee72faf
improved comparison test
2015-08-04 07:44:39 -06:00
Kjell Hedstrom
13cc398f06
comparison operators for level: gtest, std::find, == operator, !=operator
2015-08-04 07:43:38 -06:00
Kjell Hedstrom
b53cd95361
Merge pull request #29 from KjellKod/fixed_definitions
...
use the genereated_definitions.hpp
2015-07-22 13:33:49 -06:00
Kjell Hedstrom
d09ca7787d
use the genereated_definitions.hpp
2015-07-22 13:28:10 -06:00
Kjell Hedstrom
a544f0b193
Merge pull request #24 from AlexandrePTJ/master
...
Fix path removal for windows
2015-07-22 10:24:29 -06:00
Alexandre Petitjean
a529895444
Update Build.cmake
2015-07-22 16:01:47 +02:00
Alexandre Petitjean
6ff84e092b
Fix path removal for windows
2015-07-21 12:21:31 +02:00
Kjell Hedstrom
5c7c289069
Merge pull request #23 from KjellKod/levels
...
handling the case of DEBUG to DBUG
2015-07-20 08:25:11 -06:00
Kjell Hedstrom
540e9601df
handling the case of DEBUG to DBUG
2015-07-20 08:23:49 -06:00
Kjell Hedstrom
056a5483da
Merge pull request #22 from KjellKod/levels
...
improved dynamic Levels
2015-07-20 08:16:55 -06:00
Kjell Hedstrom
d5ad2709a7
removed changes to g3::only_change_at_initialization at shutdown/init.
...
It is thread unsafe and should be done explicitly (also the threaded 100 threads calling with initialzation + shutdown was handing)... good test
2015-07-20 08:11:57 -06:00
Kjell Hedstrom
786b92a6d1
Another, tiny, breaking change.
...
Due to popular request I have added the possibility to put in your own custom log levels. Due to performance regards changes to the log levels should ONLY be done
in a single thread context (initialiation) for that reason the namespace
used to "setLogLevel" is named appropriately
i.e. use: g3::only_change_at_initialization::setLogLevel(...)
2015-07-20 08:00:33 -06:00
Kjell Hedstrom
c4f9463b6b
Custom levels can be added: So far dynamic on-off does not work
2015-07-20 00:45:41 -06:00
Kjell Hedstrom
010ecc5bc7
Merge pull request #20 from KjellKod/install_improvements
...
Install improvements
2015-07-19 23:32:36 -06:00
Kjell Hedstrom
b4ffc17344
staying with cmake 2.8
2015-07-19 23:29:36 -06:00
Kjell Hedstrom
b05d8d8fb9
sigh... travis needs semi colons
2015-07-19 23:26:38 -06:00
Kjell Hedstrom
b9c6140e84
cmake fixy
2015-07-19 23:24:35 -06:00
Kjell Hedstrom
755895ce93
Using later version of cmake on travis
2015-07-19 23:22:12 -06:00
Kjell Hedstrom
56bdcfa757
fixing travis
2015-07-19 23:16:29 -06:00
Kjell Hedstrom
7c7012325d
Easier to install. continues
...
1) Breaking change: g3 namespace replaces g2
2) g2log.hpp remains in src/g2log.hpp... but now all it does is to include the g3log.hpp, etc
3) ALL HEADER FILES ARE IN src/g3log/ while all .cpp and .ipp files are in /src (exception for g2log.hpp)
This should make it EASIER for clients to copy/install the header files to the new location. It greatly simplifies
rpm and cpackage installationsw
2015-07-19 23:10:56 -06:00
Kjell Hedstrom
7cf42c535c
Making it easy for other people to see the formatting style
2015-07-16 01:58:21 -06:00
Kjell Hedstrom
6750efe8fe
g2log.hpp is kept as a helper include. It will pull in the most frequent include files
...
All other are under g3log. Example: #include <g3log/time.hpp> #include <g3log/g3log.hpp> etc
This makes sure that the package manager (to be used soon) does NOT clutter any /usr/local/include space
instead all the includes will be in /usr/local/include/g3log (or similar)
2015-07-16 01:55:23 -06:00
Kjell Hedstrom
94db9bb4db
Updated for removing temporary cmake files with "make clean-cmake-files"
2015-07-16 00:27:17 -06:00
Kjell Hedstrom
78103cb415
Auto generate macro defintions in a file. This way you don't have to re-state them in your library
...
if no options are given a blank file will be generated
2015-07-13 07:49:44 -06:00
Kjell Hedstrom
3e5da340bd
Merge pull request #19 from KjellKod/KjellKod-readme-patch
...
Update README.markdown
2015-07-06 22:36:52 -06:00
Kjell Hedstrom
07c74bbbc3
Update README.markdown
2015-07-06 22:34:20 -06:00
Kjell Hedstrom
389a7d695c
Update README.markdown
2015-07-06 22:32:05 -06:00
Kjell Hedstrom
4f73fb4f7c
Update README.markdown
2015-07-06 22:25:45 -06:00
Kjell Hedstrom
e219a5e426
Merge pull request #17 from KjellKod/windows_warnings
...
remove windows warnings. Thanks to @ctapmex
2015-06-24 14:51:54 -06:00
Kjell Hedstrom
ebcfe9ff06
remove windows warnings. Thanks to @ctapmex
2015-06-24 14:50:46 -06:00
Kjell Hedstrom
ed1cab05b0
Merge pull request #16 from KjellKod/timestamp
...
Thanks to @Bob Flynn:
2015-06-24 14:35:01 -06:00
Kjell Hedstrom
176fca55a6
Thanks to @Bob Flynn:
...
Separated the microseconds counter with a space instead of a period.
Also added explanation that the counter is from the initialization
2015-06-24 14:32:31 -06:00
Kjell Hedstrom
ab9a70e8a3
Update Options.cmake
2015-06-17 05:26:36 -06:00
Kjell Hedstrom
6731a2910f
Update Options.cmake
2015-06-17 05:24:10 -06:00
Kjell Hedstrom
7d879cd7d6
Merge pull request #10 from KjellKod/KjellKod-patch-1
...
When using options and installing g3log as a rpm library
2015-06-11 21:43:01 -06:00
Kjell Hedstrom
8b6ee253f5
When using options and installing g3log as a rpm library
...
If the g3log code isn't embedded with your code, the defines must match the options "add_defines"
2015-06-09 10:43:32 -06:00
KjellKod
37989ed52f
merging headswq
2015-05-03 22:41:20 -06:00
Kjell Hedström
dc0f3434c2
Merged in kostyabazhanov/g3log/pr4 (pull request #5 )
...
Fix a couple of Clang warnings.
2015-05-03 22:34:34 -06:00
Kostya Bazhanov
43652ef7c9
Fix -Wextra-semi Clang warning.
...
--HG--
branch : pr4
2015-04-29 12:24:11 +03:00
Kostya Bazhanov
4686fb9cc2
Remove trailing spaces.
...
--HG--
branch : pr4
2015-04-29 12:23:30 +03:00
Kostya Bazhanov
8e4929cbdb
Fix -Wunused-function Clang warning.
...
--HG--
branch : pr4
2015-04-29 12:22:26 +03:00
Kostya Bazhanov
cb097cbd3e
Remove trailing spaces.
...
--HG--
branch : pr4
2015-04-29 12:21:45 +03:00