Commit Graph

1080 Commits (cec28bf8390201059b2de7f31336e7516d1d7eed)

Author SHA1 Message Date
Gabi Melman 9c58257480
Fix zformatter on Apple and POSIX.1-2024 conforming platform (#3366)
7 months ago
Gabi Melman 1e6250e183
Gabime/fwrite unlocked (#3276)
11 months ago
captainurist 5673e9e545
utf8_to_wstrbuf now handles invalid utf8 sequences (#3244)
11 months ago
Gabi Melman 63d1884215
Gabime/async flush (#3235)
12 months ago
Michael de Lang b6da59447f
Ensure flush callback gets called in move-assign operator (#3232)
12 months ago
Michael de Lang 16e0d2e77c
Exchange promise for condition_variable when flushing (fixes #3221) (#3228)
12 months ago
Leslie 2169a6f6ae
use std::lock_guard instead of std::unique_lock (#3179)
1 year ago
gabime 22b0f4fc06 Clang format
1 year ago
Gabi Melman 37b847692e Revert pr #3023 (std::string_view overloads for logger accessor for c++17)
1 year ago
gabime 94a8e87c71 Fix #3079
1 year ago
gabime 3b4c775b5b Update comment about set_default_logger
1 year ago
gabime 3403f27898 Don't remove previous defaullt logger from registry in set_default_logger. Fix #3016
1 year ago
Yubin 6725584e27
Make async_logger::flush() synchronous and wait for the flush to complete (#3049)
2 years ago
Tomas-Zhu 73e2e02b42
Fix #3038 (#3044)
2 years ago
gabime 23587b0d9a Fixed regisry-inl.h
2 years ago
gabime 819eb27c5d Use find if registry is bigger than 10 in registry::get(std::string_view logger_name)
2 years ago
gabime 4052bc0621 Use find if registry is bigger than 20 in registry::get(std::string_view logger_name)
2 years ago
magnus-nomono ae525b75c3
Add missing include (#3026)
2 years ago
Leadbelly 5532231bbc
feature: adds string view overloads for logger accessor (#3023)
2 years ago
Gabi Melman 134f9194bb
Update registry.h code formatting
2 years ago
cohdan fe79bfcc51
Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed (#3009)
2 years ago
liubing 8979f7fb2a
Also use _stat() on Windows to be more UTF8 friendly (#2978)
2 years ago
gabime 2aa8b6c971 Check fd_ is not nullptr in file_helper
2 years ago
Peter Nemeth 479a5ac3f1
Fix OS availability check of pthread_threadid_np for iOS (#2897)
2 years ago
gabime e5865186d4 Revert "Added a function to add callbacks that are called when a logger is registered (#2883)"
2 years ago
Jonathan Vannier b6eeb7364c
Added a function to add callbacks that are called when a logger is registered (#2883)
2 years ago
gabime 0a53eafe18 update clang format again
2 years ago
gabime 4b2a8219d5 reformat code
2 years ago
gabime 9d52261185 clang format
2 years ago
gabime 95c226e9c9 format
2 years ago
Gabi Melman 5931a3d6f8 Fixed windows compile
2 years ago
gabime 1a0bfc7a89 clang format
2 years ago
Yubin b5b5043d42
Support async_overflow_policy::discard_new (#2876)
2 years ago
gabime bffceb90b0 Fixed circular_q size impl and added tests
2 years ago
Gabi Melman d8d23a6606
Fix #2820
2 years ago
gabime 169f827957 Added missing include to udp_client.h
2 years ago
Simon-Janos 5ece88e5a8
Removing IPv4 limitation from tcp_client (#2790)
2 years ago
gabime 1f61f5e019 clang format
2 years ago
Sergey Fedorov c65aa4e488
os-inl.h: fix for missing pthread_threadid_np (#2715)
3 years ago
Gabi Melman e539d6ae42
Update registry-inl.h fix #2691
3 years ago
Gabi Melman 262acfdeb5
Update os-inl.h
3 years ago
Gabi Melman a4d8817745
move include cassert
3 years ago
Gabi Melman 66407f5b48
Better handling of utf to wchar
3 years ago
afshinpir 51bcff820e
Added `apply_logger_env_levels` (#2649)
3 years ago
Zeus James da14258533
Fix MinGW build issue on example (#2642)
3 years ago
Gabi Melman 654dbc5c32
Update os.h
3 years ago
Gabi Melman 78e86ba01f
Update os-inl.h
3 years ago
Gabi Melman 435827fe5a
Update os.h
3 years ago
espkk f29f369a12
Add sync to file_helper (#2343)
3 years ago
albert-github 5a63426d1c
Spelling corrections (#2606)
3 years ago