Commit Graph

134 Commits (50648553cfb5c01775d32ca5bd19fe3e2fbd7a0c)

Author SHA1 Message Date
gabime 2d873785a5 astyle
9 years ago
gabime 92db8115b7 option to prevent child processes from inheriting log file desciptors (#define SPDLOG_PREVENT_CHILD_FD)
9 years ago
Gabi Melman af35f9c086 Merge pull request #330 from PMExtra/master
9 years ago
Gabi Melman 0e016882d9 Update os.h
9 years ago
PM_Extra b1a55ca3a4 Use the feature checking macros to detect thread_local support in clang.
9 years ago
PM_Extra f7574eb4c7 fixed compilation error in clang before version 8 (does not support thread_local keyword)
9 years ago
gabime 33494049a8 fixed compilation error in 2013 (does not support thread_local keyword)
9 years ago
gabime 5d23e88c16 astyle
9 years ago
gabime 6d8efa8d7f store thread_id in tls
9 years ago
gabime 343904b56d add missing include to widnows _getpid
9 years ago
gabime cf73f02eaf pid support (added the %P option to formatter)
9 years ago
gabime e12916c070 Fixed issue #317 (Build error on raspberry pi)
9 years ago
osx2000 3cd497ee95 extended conditional compilation to __SUNPRO_CC
9 years ago
Guo Xiao 9b218d4d12 Convert off_t to size_t
9 years ago
amir zamani 811eeef7a6 update os.h to fix filesize() on older win32
9 years ago
Hugh Wang f2c9692438 Fix compilation on Android.
9 years ago
gabime b13735dc22 astyle
9 years ago
gabime 20cb73e9da disable syslog by default (enable by #define SPDLOG_ENABLE_SYSLOG )
9 years ago
Nazım Can Bedir 097ba5a359 Add basic support for Solaris.
9 years ago
gabime e556daebc3 better support for thread id in FreeBSD
9 years ago
gabime e7debaacd7 astyle
9 years ago
Tony Narlock 98af71c585 Add FreeBSD compatibility defs
9 years ago
gabime 36ba06a75c cosmetic fix in utc_minutes_offset when throwing
9 years ago
gabime 74aede0c66 better support for file size in 64 bits
9 years ago
gabime 730f0e02a6 better support for file sizes in 32/64 bits
9 years ago
gabime b2c40fcedf Fixed issue #156 (use stat to check file existance under osx as well(
9 years ago
Gabi Melman 28ebdad367 Update os.h
9 years ago
gabime 1ac68e399a Fixed issue #245
9 years ago
gabime 8e0892fa31 astyle
9 years ago
gabime c5c6baad74 Added errno description to sdlog exception strings
9 years ago
Gabi Melman 5202a7806f Merge pull request #210 from GreatFruitOmsk/master
10 years ago
gabime 38c0ee018b astyle
10 years ago
gabime 80a432e646 cleaned common.h and moved some code around
10 years ago
gabime 10d5292bbb better support for custom eol
10 years ago
Kirill Leyfer 6603d5e31f Fix throwing exception if DYNAMIC_TIME_ZONE_INFORMATION fails under windows.
10 years ago
gabime 0d26359856 astyle
10 years ago
gabime 19dae96985 wchar filenames support - minor improvements
10 years ago
unknown 113ebcfd97 Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111
10 years ago
gabime 495ecaeaee astyle
10 years ago
gabime 12f6fd07e0 formatting
10 years ago
gabime cd90e3911e fix issue #189 spdlog redefines max as a preprocessor macro
10 years ago
Kevin M. Godby 077c3095eb Added missing standard header includes.
10 years ago
Kevin M. Godby 196689f720 Fixed header include problems.
10 years ago
gabime c7864ae5dc throw exception if DYNAMIC_TIME_ZONE_INFORMATION fails under windows instead of returning -1
10 years ago
Andrey Glebov 04ce6e5feb - fixed false error (returning -1) in time zones without daylight saving (checking against TIME_ZONE_ID_INVALID instead of 0)
10 years ago
gabime a1e25cdb28 revert support for monotonic clock - it is not faster than realtime
10 years ago
Sergey Kovalevich 583ca02ef9 Added CLOCK_MONOTONIC trick
10 years ago
gabime d7f1932e10 cygwin/mingw support fix
10 years ago
gabime d58432ff56 bugfix
10 years ago
gabime a9fb96e088 1. Fixed file_helper::exists() bug under windows which returned false in some circumstances
10 years ago
gabime 8c38b4ee9e MIT license
10 years ago
gabime 0f76db880e astyle
10 years ago
yaoyuan1216 1b3946cf65 Replace GetDynamicTimeZoneInformation to GetTimeZoneInformation.
10 years ago
Alexander Shishenko 0170dfdc7b
Renamed "Windows.h" to "windows.h" for building spdlog on MinGW using case-sensitive file system.
10 years ago
Ruslan Baratov 8bb4b831c4 Fix Android build
10 years ago
gabime cadd181d8d Reverted pull #111 - wchar support under windows - it pollutes global namespace with new defines
10 years ago
Artem Martynovich 787aa46693 Disable usage of wchar_t in tests.
10 years ago
Artem Martynovich 0e5c4b9de4 Fix Unix build. Use S("...") instead of L"..." for better compatibility.
10 years ago
Artem Martynovich 2b59393bda Add wchar_t support for Windows.
10 years ago
gabime 285a47dedb Fix bug #84
11 years ago
gabime da8024854e Fixe bug #84 (mingw gives '_SH_DENYWR' was not declared in this scope')
11 years ago
gabime 3ee728d11b replaced include pthread.h with <thread>
11 years ago
gabime b715378ff5 Added tweakme.h - enable users to enable/disable features at compile time
11 years ago
gabime 7cf34ce820 Fixed return type in os::get_thread_id
11 years ago
gabime 25afbd79b2 Added compile time option to turn off thread id (#define SPDLOG_NO_THREAD_ID in common.h)
11 years ago
gabime 0684b4f378 use size_t to better represent thread id across platforms
11 years ago
gabime 4292d3d9af Use gettid() syscall under linux to get thread id
11 years ago
gabime a09107927b Fix Visual Studio poor std::this_thread::get_id() performance by using GetCurrentThreadId() (and pthread_self() under linux)
11 years ago
gabime 2fe68db0a3 pass nullptr to time() instead of 0
11 years ago
gabime 1323d18f9e bugfix
11 years ago
gabi fb67e571f5 Under linux, use the much faster CLOCK_REALTIME_COARSE clock by default (SPDLOG_CLOCK_COARSE is defined in common.h)
11 years ago
Rupert Steel 5d7947df9d Fixed 2 macro redefinition warnings releated to WIN32_LEAN_AND_MEAN.
11 years ago
gabime 40a55b8e34 astyle
11 years ago
gabime d163b8c45a astyle
11 years ago
gabime 7674bdb40a undo last commit
11 years ago
gabime d00070da5d undo last commit
11 years ago
gabime e9dc0d2196 #undef WIN32_LEAN_AND_MEAN if it was not dedfined before spdlog defined it
11 years ago
gabime e87af08180 some small cleanup and define WIN32_LEAN_AND_MEAN
11 years ago
Gabi Melman 87c0770c42 Update os.h
11 years ago
gabime 6f550c3271 glog bench
11 years ago
gabime eeeca0f46b static_cast<int> to remove warning
11 years ago
gabi 0c6518961d Fix level 4 warnings under VS
11 years ago
gabime 74aae4f368 readme
11 years ago
gabi c7b8c762fb spdlog
11 years ago