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
Kjell Hedstrom
b3b30a7eaf
Merge pull request #8 from spoonless/mingw_xcompil
...
fixing cross compilation on Linux for MINGW gcc 4.8.2
2015-03-30 20:52:44 +02:00
David Gayerie
4c45244391
fixing cross compilation on Linux for MINGW gcc 4.8.2
2015-03-29 14:29:07 +02:00
Kjell Hedström
9ceb970475
README.markdown edited online with Bitbucket
2015-03-02 15:38:00 +00:00
Kjell Hedström
7464e55e90
README.markdown edited online with Bitbucket
2015-03-02 15:25:31 +00:00
Kjell Hedström
36b4c1df1d
README.markdown edited online with Bitbucket
2015-03-02 15:24:35 +00:00
Kjell Hedström
be5c5d6c34
README.markdown edited online with Bitbucket
2015-03-02 15:23:48 +00:00
Kjell Hedstrom
65846fdeaa
Merge pull request #7 from KjellKod/windows-vector-exceptions
...
Windows vector exceptions
2015-03-02 02:14:50 -07:00
Kjell Hedstrom
7c5254c80b
thread_local issues on Linux, using atomic instead
2015-03-02 02:02:43 -07:00
Kjell Hedstrom
58ffeac9bc
Clarified issue with __debugbreak()
2015-03-02 01:17:52 -07:00
Kjell Hedstrom
a5d922de49
__debugbreak in windows can easily cause recursive crashes if you are
...
NOT in debug mode in your visual IDE
2015-03-02 01:14:03 -07:00
Kjell Hedstrom
e2117fcc17
Merge pull request #6 from KjellKod/windows-vector-exceptions
...
Windows vector exceptions
2015-02-23 23:39:14 -07:00
Kjell Hedstrom
cc5cf169ba
After code review by Kamil.
...
Moved internal API to public API.
g2log.hpp/cpp g2::setFatalPreLoggingHook(...) and g2::setFatalExitHandler(...)
2015-02-23 23:29:02 -07:00
Kjell Hedstrom
a69eb201a1
Pre-fatal-log hook for usage before the fata log is sent to sinks
2015-02-22 23:31:17 -07:00