Commit Graph

33 Commits (e152785de99469927ac0fc7eb7fd754ee927ea78)

Author SHA1 Message Date
hagen 10ebcff48e * Log.{cpp,h}:
* use colors only when using stdout
  * use static string array instead bunch of #define's
8 years ago
brain5lug fee5f959fd perfect forwarding for logging arguments 8 years ago
hagen c9836cf0f7 * fix doxygen warnings 8 years ago
orignal 6a453bcc8a check for null pointer 8 years ago
orignal 5a2c4919c6 close previous file first upon repon 8 years ago
hagen 1fae3baaa3 * logger: print also thread id 8 years ago
hagen 38103aaac5 * logger: explicit allow log output 8 years ago
hagen 905cad56d8 * add note 8 years ago
hagen 17fb419fb1 * new logs: code 8 years ago
Jeff Becker c4e5a130ee
don't break win32 8 years ago
Jeff Becker 5261a3e845
add syslog logging option 8 years ago
orignal 61675c20d8 don't delete log file upon HUP 8 years ago
orignal 98d5e0b56d #355. reopen log file by SIGHUP 8 years ago
orignal 7ca1cfab1a use shared_ptr for log's stream 8 years ago
hagen 05043f30dc * tune logs 8 years ago
hagen a0e8fe5848 * implement --loglevel option 9 years ago
hagen 6c0dfc4356 * sane log messages: Log.cpp 9 years ago
orignal 54b2c8bd7e backport fix build for clang 9 years ago
ipslot dfd41385b1 Update Log.cpp
set default log to std::cerr stream
9 years ago
orignal 6bad2daa62 fixed build errors for gcc 4.6 9 years ago
orignal 7c13194d5a don't recalculate timestamp for each log message 9 years ago
orignal bb05bcf39f pass instance of std::ostream for logging from API 10 years ago
Kill Your TV dd4283b7c1 Revert "fixed typo" and "fixed crash for Windows"
This reverts commits c8a80a497d and f7791e5289

This didn't actually fix Windows crash problem. In fact, it still
crashed without --log=0 being set. Changes to the i2pd.vcxproj file
fixed the crashes with VS 2013 > update 1.  i2pd now works with VS 2013
Update 3 and Update 4 RC.

Since these changes didn't have the intended effect, let's remove them.
10 years ago
orignal c8a80a497d fixed typo 10 years ago
orignal f7791e5289 fixed crash for Windows 10 years ago
orignal 11a0bbc368 different log levels 10 years ago
orignal a25fe85b4d print time without date 10 years ago
Mikal Villa 05fa6757ce Adding timestamp to logger. 10 years ago
orignal 334c92bb49 daemonization. 10 years ago
orignal 2062305f88 moved log file from daemon to log 10 years ago
orignal 58939de57e flush log only when queue is empty 10 years ago
chertov 0236879c26 Logging to file directly. Win32 Services can't write to std::cout 10 years ago
orignal 465075d825 Log and queue added 11 years ago