Commit Graph

555 Commits

Author SHA1 Message Date
Hans Duedal
1847312bac Enable an install target
Should work fine on Unix systems, and support install prefixes.
Installs both a static and a shared library to the same location, so we
get an .a and a .so/.dylib file, which can be linked to in the ordinary
way, ie. `-lg3logger`.
2016-01-24 13:27:52 +01:00
Kjell Hedström
1c6ede6db4 Merge pull request #72 from colorer/unused_includes
remove unused include
2016-01-11 12:38:26 -07:00
Aleksey Dobrunov
444642f47b fix unit test 2016-01-11 23:48:56 +05:00
Aleksey Dobrunov
1f4ffbeb6f fix build lib 2016-01-11 23:47:00 +05:00
Aleksey Dobrunov
12beaf89de remove unused include 2016-01-11 00:41:05 +05:00
Kjell Hedström
31d12dc090 Merge pull request #66 from guanqun/patch-1
trivial fix: add double quote around "some text"
2015-12-01 09:53:12 -07:00
Lu Guanqun
901b0d74e6 trivial fix: add double quote around "some text" 2015-12-02 00:10:48 +08:00
Kjell Hedström
501b16ffbd Merge pull request #65 from cstamatopoulos/missing_import_lib_msvc
#13 generate import lib in msvc using cmake >= 3.4
2015-12-01 05:51:48 -07:00
Kjell Hedström
e97656b902 Merge pull request #56 from turenar/thread_local
suppress 'thread attribute directive ignored' warning on mingw
2015-11-26 19:31:34 -07:00
cstamatopoulos
d125990007 #13 generate import lib in msvc using cmake >= 3.4 2015-11-26 19:13:45 -05:00
Kjell Hedström
77b1d1c0d5 Merge pull request #63 from cstamatopoulos/fix-msvc2013-compilation
fix msvc2013 compilation issue of internal::g_log_level_status on res…
2015-11-24 00:22:18 -07:00
Kjell Hedström
2c7faa0ec1 Merge pull request #64 from KjellKod/API_Documentation
Fixed dynamic logging unit test
2015-11-23 23:50:52 -07:00
Kjell Hedsröm
d4d60ca517 Fixed dynamic logging unit testw: 2015-11-23 23:49:27 -07:00
cstamatopoulos
499d1a51ef fix msvc2013 compilation issue of internal::g_log_level_status on reset() 2015-11-24 01:46:27 -05:00
Kjell Hedström
d361a4bbd9 Merge pull request #54 from KjellKod/API_Documentation
Api documentation
2015-11-23 23:20:06 -07:00
Kjell Hedsröm
9a5508b327 fixed typ 2015-11-23 23:18:27 -07:00
Kjell Hedsröm
01666ab80c Added link to the API docmentation 2015-11-23 23:17:47 -07:00
Kjell Hedsröm
2cef7cb174 Merge branch 'master' of github.com:KjellKod/g3log into API_Documentation
Conflicts:
	test_unit/test_io.cpp
2015-11-23 23:12:30 -07:00
Kjell Hedsröm
1007ab1fd9 Added windows fatal handling. All except the stackdump... maybe the options need to be explained as well 2015-11-22 16:55:50 -07:00
Kjell Hedsröm
2b7331c892 TODO --> TOWRITE 2015-11-22 16:43:08 -07:00
Kjell Hedsröm
73cda4bd3e Marking all non-yet made entries with strikethrough and 'TODO' 2015-11-22 16:41:19 -07:00
Kjell Hedsröm
773000caf9 Added fatal handling: Linux 2015-11-22 16:36:30 -07:00
Kjell Hedsröm
11e22dd40d The sigsegv example exited by sigfpe. Fixed! 2015-11-22 16:35:36 -07:00
Kjell Hedsröm
df093e3563 Documentation done till fatal handling.
Improved logging levels
2015-11-22 16:01:53 -07:00
Kjell Hedström
0f790a4a11 Merge pull request #58 from KjellKod/Flush_On_Every_Write__DefaultLogger
flush after every write: https://github.com/KjellKod/g3log/issues/57
2015-11-03 13:54:50 -07:00
Kjell Hedström
4b3c4d7ff7 flush after every write: https://github.com/KjellKod/g3log/issues/57
https://github.com/KjellKod/g3log/issues/57
2015-11-03 13:35:47 -07:00
Turenar
fa15177d58 suppress 'thread attribute directive ignored' warning on mingw
make thread_local workaround on only <=VS2013
VS2015 has thread_local specifier
2015-10-30 16:09:39 +09:00
Kjell Hedsröm
c73c90f93c custom logging levels in progress 2015-10-10 15:25:35 -06:00
Kjell Hedsröm
91542319ee enable-disable logging levels at runtime 2015-10-10 15:14:47 -06:00
Kjell Hedsröm
8b1517896f API for logging and contract 2015-10-10 14:50:24 -06:00
Kjell Hedström
17756a2657 Merge pull request #55 from KjellKod/test_warnings
removed gcc5.2 warnings
2015-10-03 16:15:26 -06:00
Kjell Hedsröm
c1f5b20c6d removed gcc5.2 warnings 2015-10-03 16:13:21 -06:00
Kjell Hedstrom
bb1c31577d lists try 2 2015-09-21 16:23:27 -06:00
Kjell Hedstrom
4349797485 lists try 1 2015-09-21 16:20:32 -06:00
Kjell Hedström
077ede2bfb Merge pull request #53 from rayrapetyan/patch-1
Update Build.cmake (support for FreeBSD 10+)
2015-09-21 16:17:28 -06:00
Kjell Hedstrom
ed51ab8dbb ADDED vanilla API readme. Improved the README.markdown by elaborating on how to use a custom sink 2015-09-21 15:51:23 -06:00
Kjell Hedstrom
09a9bcc95e compile warnings, gtest comparisons 2015-09-21 15:33:34 -06:00
Robert Ayrapetyan
8f109ec131 Update Build.cmake (support for FreeBSD 10+)
Proposed fix for building on FreeBSD 10+ systems:
- c++abi and rt libs are not required
- pthread flag and execinfo lib is required
2015-09-20 19:23:38 -07:00
Kjell Hedström
35cdf42b05 Merge pull request #52 from craig-cogdill/SaveG3Log
Adding the function name and saving the day
2015-09-17 00:40:00 +02:00
Craig Cogdill
051fb50c98 Adding the function name and saving the day 2015-09-16 16:29:48 -06:00
Kjell Hedstrom
40fbc7b4b3 Merge pull request #50 from KjellKod/improve-default-formatting
Improve default formatting
2015-09-14 21:56:51 -06:00
Kjell Hedstrom
d936bc2763 Fixed formatting unit tests 2015-09-14 21:52:42 -06:00
Kjell Hedstrom
403f3cb94f Improve default formatting
Instead of 
<date and time> <file>:L<line> .... 

have 
<date and time>**<file>:<line>**
2015-09-14 19:03:32 -06:00
Kjell Hedstrom
4974cf1da6 Merge pull request #48 from KjellKod/disable_single_signals
Custom signal handler
2015-09-11 07:03:38 -06:00
Kjell Hedstrom
a1a3672d71 Missing include 2015-09-11 03:23:24 -06:00
Kjell Hedstrom
a5e21e5d52 testing ssh 2015-09-11 03:05:34 -06:00
Kjell Hedstrom
b9fc844bb4 testing it again 2015-09-11 03:02:35 -06:00
Kjell Hedstrom
dcdf41b3ee tesing ssh keys again 2015-09-11 02:57:38 -06:00
Kjell Hedstrom
980b863ec7 test ssh key 2015-09-11 02:54:27 -06:00
Kjell Hedstrom
fae01d5e92 Added missing test for custom signal handling for SIGTERM 2015-09-11 02:49:17 -06:00