Commit Graph

739 Commits

Author SHA1 Message Date
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
626191a62d
Mostly a refactor of tests (#513) 2023-12-05 23:33:03 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
055f5e4d21
updated docs (#512)
* updated docs for API and added sequence diagrams.
2023-12-05 21:57:13 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
bba825815a
refactor fatal call (#511)
* refactor fatal handling
2023-12-05 21:04:01 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
d70ae50ee3
gitignore (#510)
* gitingore
2023-12-05 20:02:08 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
f26b058d16
Update PULL_REQUEST_TEMPLATE.md 2023-11-30 16:22:17 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
cf91227966
adding consistent and easy formatting (#508)
*  clang format configuration file replaces sublime Astyleformatter
* instructions added to pull request template
* code base re-formatted to be consistent throughout.
2023-11-30 16:17:45 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
0708f5aeb4
Update README.md 2023-11-28 08:37:15 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
59fdb4e2c8
Update README.md 2023-11-27 21:08:21 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
c2661853d0
Codespaces tryout (#507)
* adding example vs code launch file
2023-11-27 21:07:23 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
c3a46e6043
trying out codespaces (#506)
* trying out codespaces
2023-11-27 19:13:07 -07:00
Kjell Hedström - looking for a challenge contract or full-time
f1036e62ac
Update README.md (#505) 2023-11-25 14:48:09 -07:00
Kjell Hedström - looking for a challenge contract or full-time
c41c82e032
Update README.md (#504) 2023-11-25 11:12:58 -07:00
Sean -Kjell- Hedström
63f3272703
clarify c++ version support (#502) 2023-11-12 14:42:52 -07:00
Kjell Hedström
b24d4a4523
update doc for default flush (#499) 2023-08-17 16:55:24 -06:00
CryptoManiac
7817fd3a94
Update loglevels.hpp (#496) 2023-05-20 07:16:32 -06:00
Dmitry Tsarevich
bad9c58e60
Fix found by PVS-Studio issues (#490)
Small changes, essentially cleanup, with no actual code logic change. 
* Ensure symbol_buffer aligned same as SYMBOL_INFO
* Use constexpr for compile-time constant
* Use = default for ctor bodies to allow compiler optimize them
* Pass string by reference to prevent copying, other smaller types we can  avoid passing by reference as the type is cheaper to copy.
2023-05-15 07:59:44 -06:00
SzGaa
cc0fb7c1ea
constexpr LEVELS for easier custom level usage (#483)
Usage of C++20's new constexpr functionalities for easier usage of custom LEVELS!

Modified:
* With C++20 LEVELS's constructor can have a constexpr specifier
* const LEVELS can be replaced to be constexpr's instead
2023-05-03 21:50:48 -06:00
Kjell Hedström
b249fb6c6c
Update appveyor.yml to use Visual Studio 2022 (17) (#487) 2023-04-19 22:39:32 -06:00
GergoTot
5323480780
Avoid pending of containerized applications in case of aborting (#481)
Improvement for Docker run C++ applications with g3log 

* This addresses the case when a PID1 process crashes and the signal handling, goes into multiple or even infinite loops due to subsequent crashes. The PR makes sure to restore all signal handlers to the original signal handling after the first crash is detected. For
2023-03-07 17:30:58 -07:00
Kjell Hedström
4f1224b9d5
Fix filesink drop messages improved (#479)
* Fix FileSink dropping messages introduced by 'optionable buffer to x messages' feature
Commit 6c6122fafc introduced a bug where 99 out of 100 logs were actually dumped

* Updated unit tests to trigger sink flush bug
---------

Co-authored-by: Ryan Ammoury <ryan.ammoury@squadrone-system.com>
2023-02-20 06:16:34 -07:00
Kjell Hedström
43f5eddcdd
updated version to 2.2 (#476) 2023-02-04 04:45:29 -07:00
Grzegorz Głowacki
09317e3573
Parse OSX stack dump format in order to demangle it correctly (#473)
* Parse OSX format  mangled stack trace correctly
Co-authored-by: Grzegorz Glowacki <grzegorz.glowacki@avid.com>
2023-02-04 04:40:56 -07:00
Kjell Hedström
16bb6f7e04
force check of stackdump (#475) 2023-02-04 04:37:13 -07:00
Kjell Hedström
6c6122fafc
optionable to buffer x messages before writing to file, default to 100 which will really boost performance (#471) 2022-12-08 22:08:28 -07:00
Kjell Hedström
dbd3d74a39
__SIGFUNC__ no longer default for Windows. __PRETTY__FUNCTION no longer default for gcc/clang (#470)
* __SIGFUNC__ no longer default for Windows, It has to be explicitly picked through CMAKE option
* __PRETTY_FUNCTION__ no longer default for gcc/clang, It has to be explicitly picked through CMAKE option
2022-11-29 22:16:35 -07:00
Kjell Hedström
881e6da439
__func__ doesn't make sense (#469)
__func__ doesn't make sense since we have left c++11 in the dust
2022-11-29 09:00:46 -07:00
Kjell Hedström
6f6da0ed2a
Update CMakeLists.txt 2022-11-10 09:34:52 -07:00
ablangy
0c09462e4d
exitWithDefaultSignalHandler() should block until signal handler returns (#464)
raise() system call does the same as kill() system call in a
single-threaded program.
In a multithreaded program, it does the same as pthread_kill() which
ensures that if the signal causes a handler to be called, raise() will
return only after the signal handler has returned.
2022-11-10 09:34:07 -07:00
Kjell Hedström
21195751be
corrected version 2022-11-08 09:31:37 -07:00
bmagistro
ed91b899f0
Resolve noexcept warnings on lambdas (#463)
When running with additional warnings enabled, a couple lambdas produce
a warning that they should be declared with noexcept. This addresses the
lambdas that had been identified while building.

Signed-off-by: Ben Magistro <koncept1@gmail.com>
2022-09-14 14:04:34 -06:00
神楽坂帕琪
5adecb5ad9
Fix typo in README (#460) 2022-08-17 01:04:44 -06:00
Reece Watson
a0c7e5e0e1
Fix typo in README.md (#458) 2022-07-29 06:38:21 -06:00
zjeffer
1ee2cd0de6
fix(cmake): fixes #413 (#457) 2022-06-11 06:17:32 -06:00
Kjell Hedström
7758aa7913
Update README.md (#456)
* Update README.md and PULL_REQUEST_TEMPLATE.md
2022-05-29 04:24:55 -06:00
Kjell Hedström. We are hiring @ Ganaz
ccf6b97054
Mkdocs (#455)
* adding header/footer navigation links
2022-05-28 23:37:48 -06:00
Kjell Hedström. We are hiring @ Ganaz
429047e815
Mkdocs (#453)
* adding back README
2022-05-28 23:29:03 -06:00
Kjell Hedström. We are hiring @ Ganaz
eaf3f7b312
Create .ciignore (#454) 2022-05-28 23:24:45 -06:00
Kjell Hedström. We are hiring @ Ganaz
359ca69774
Set theme jekyll-theme-cayman 2022-05-28 22:27:35 -06:00
Kjell Hedström. We are hiring @ Ganaz
f370e32346
Update mkdocs.yml 2022-05-28 22:11:11 -06:00
Kjell Hedström. We are hiring @ Ganaz
4ade209945
Update mkdocs.yml 2022-05-28 22:02:25 -06:00
Kjell Hedström. We are hiring @ Ganaz
eb82e25958
Rename publish_docs.yml to docs.yml 2022-05-28 22:00:40 -06:00
Kjell Hedström. We are hiring @ Ganaz
f4fa1cad94
Update index.md 2022-05-28 21:50:00 -06:00
Kjell Hedström. We are hiring @ Ganaz
808b787b60
Mkdocs (#452)
* removed obseolted README.mkd
2022-05-28 21:45:59 -06:00
Kjell Hedström. We are hiring @ Ganaz
fec09b2bba
Mkdocs (#451)
* updating for mkdocs generation
* updated look
2022-05-28 21:38:45 -06:00
Kjell Hedström. We are hiring @ Ganaz
0e3fef50bb
Update publish_docs.yml 2022-05-28 21:36:58 -06:00
Kjell Hedström. We are hiring @ Ganaz
f72f47e533
Update publish_docs.yml 2022-05-28 21:23:51 -06:00
Kjell Hedstrom
fc2af1ddc2 updating for mkdocs generation 2022-05-28 21:13:54 -06:00
Kjell Hedstrom
c52de9e1cf updating for mkdocs generation 2022-05-28 21:13:54 -06:00
Kjell Hedström. We are hiring @ Ganaz
83a1ce24d9 Update index.md 2022-05-24 17:52:03 -06:00
Kjell Hedström. We are hiring @ Ganaz
6c956e5fc8
Update publish_docs.yml 2022-05-24 17:51:24 -06:00