Commit Graph

756 Commits

Author SHA1 Message Date
Kjell Hedström
60411a9e9d
Merge branch 'master' into test-ci 2024-08-27 21:24:03 -06:00
Kjell Hedström
1a1d2a12ea
Update ctest.yml 2024-08-27 21:23:51 -06:00
Kjell Hedström
5b10c7d58c
Merge branch 'master' into test-ci 2024-08-27 21:15:42 -06:00
Kjell Hedström
943487f29a
Update ctest.yml (#537) 2024-08-27 21:15:19 -06:00
Kjell Hedström
6f7ee3fa89
Update Build.cmake 2024-08-27 20:47:34 -06:00
Kjell Hedström
c1dd801e42
Update mkdocs.yml - removed test trigger (#530) 2024-05-23 19:05:35 -06:00
Kjell
e3d85a58c2 squashed many small commit messages for documentation and matrix/ci improvements 2024-05-23 13:18:22 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
095ed1cdf6
Update README.md 2024-03-22 06:18:55 -06:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
850eb0dd07
Update README.md 2024-03-22 06:18:34 -06:00
Kjell Hedstrom
ff8e284326 fixed visual studio debug 2024-02-19 11:49:34 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
326fef95ac
dummy pr to check CI (#517)
Updated checkout version to v3 to move to node20 (node16 end of life)
* updated to v3
2024-02-05 10:32:06 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
45ca1f6b6e
Update API.md 2024-02-03 15:39:46 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
9a8c0fc854
Windows path for gitactions? (#516)
* Update ctest.yml and add Windows to CI pipeline gitactions.
2024-02-03 15:37:06 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
f2b9f9b62c
Update README.md 2024-02-03 15:29:23 -07:00
Kjell Hedstrom
540f2711af .DS store gone 2023-12-07 11:54:20 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
4c1194720a
adding default container extensions (#514) 2023-12-06 20:23:58 -07:00
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities
5980182db0
Versioning (#515)
* making sure that git checkout of tags, doesn't get incrementing numbers when master gets more commits
2023-12-06 20:14:22 -07:00
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