Peter Thorson
b3b20ebb04
fix for non-threadsafe use of localtime fixes #347
2014-11-03 09:51:02 -05:00
Peter Thorson
397f5c00bf
better fix for use of put_time
...
Put time can’t be activated by _WEBSOCKETPP_CPP11_STL_ due to backwards
compatibility issues with GCC 4.7 and 4.8 which otherwise work with
that define but do not support put_time
2014-11-03 09:48:43 -05:00
Peter Thorson
e1a0401d25
fixes guard macro for use of std::put_time
...
std::put_time is in the c++11 iomanip header not chrono
2014-11-02 19:12:16 -05:00
Peter Thorson
9d237effc7
remove dependency on std::iostream from core
...
It is still required for the iostream transport and the basic
(iostream) logging policy.
2014-03-20 06:10:24 -05:00
Peter Thorson
f02c6f1c75
code style
2013-08-05 08:32:43 -05:00
Peter Thorson
eb9ab6f70f
add constexpr to static logging tests
2013-08-05 08:32:28 -05:00
Peter Thorson
c017331959
remove trailing whitespace
2013-07-21 07:49:15 -05:00
breyed
8c6a360600
Write timestamp directly to output stream
...
This uses put_time (if supported) to avoid having to first write the timestamp to a temporary buffer and then copy it to the stream.
2013-06-09 18:28:19 -05:00
Peter Thorson
d25a254e81
remove logger dynamic allocation
2013-06-09 09:20:04 -05:00
breyed
e68d492ed2
Fixed Visual Studio 2012 warnings
...
Fixed daylight savings time formatting problem on Windows
2013-06-08 11:07:02 -05:00
Peter Thorson
fcac7071eb
adds documentation
2013-05-30 13:32:45 -05:00
Peter Thorson
8f7843094d
edits for consistency
2013-05-11 15:48:21 -05:00
Peter Thorson
d908c1afd2
update copyright dates and fix whitespace that doesn't match projec style
2013-05-05 11:23:31 -05:00
Peter Thorson
c13ec1beb7
adds set(none) as alias for clear all references #207
2013-04-30 17:53:07 -05:00
Peter Thorson
865da6dba2
allow end user dynamic tests
2013-04-29 13:03:25 -05:00
Peter Thorson
e304deacad
typo
2013-04-24 07:03:36 -05:00
Peter Thorson
0bc908674a
flush logger output
2013-04-24 07:02:39 -05:00
Peter Thorson
1421403603
adds ability to set arbitrary stream for logging
2013-04-23 10:03:24 -05:00
Peter Thorson
6d1b956aff
adds preliminary server side subprotocol negotiation
2013-04-05 21:10:19 -05:00
Peter Thorson
9ebd169675
fixes a crash when strftime overflowed buffer #205
2013-04-05 07:29:20 -05:00
Peter Thorson
ef857ea831
splits basic logger from log constants
2013-03-28 22:42:51 -05:00
Peter Thorson
ce95137ef5
Removes more implicit casts
2013-02-17 07:44:41 -06:00
Peter Thorson
78b52be803
removes force casting from int to bool
2013-02-17 07:13:09 -06:00
Peter Thorson
e0abafbd71
moves stdint header to common includes
2013-02-08 08:48:39 -06:00
Peter Thorson
b4903dad0b
adds an application level logging level
2013-01-31 08:40:16 -06:00
Peter Thorson
0bb60df7fc
adds a typedef for logging levels
2013-01-27 10:35:57 -06:00
Peter Thorson
375108aabf
Switches cout based logging to logging policy
2013-01-27 08:20:08 -06:00
Peter Thorson
6ab39622e5
adds basic logger class, with tests, and updates configs to include it
2013-01-20 20:24:26 -06:00