Eric Frias
8def04f341
Add a path::preferred_string() function that generates a string in the platform's preferred format, using backslashes on win32 (uses boost::filesystem::path::make_preferred()).
...
Modify the log file configuration and rotating code to call to_native_ansi_path() and do more paths manipulation in fc::path objects and less in std::strings, in an attempt to improve BitShares/bitshares_toolkit#791
2014-09-25 08:57:31 -04:00
Eric Frias
27096f15a7
Log the names of tasks to the log file (now contains thread_name:task_name}
2014-08-24 18:33:05 -04:00
Vikram Rajkumar
e9b1b8ec2e
Use a separate thread for log compression
2014-07-03 17:24:06 -04:00
Vikram Rajkumar
cc1ef61cd6
Logs are now rotated on startup if rotation is enabled
2014-07-03 01:16:46 -04:00
Vikram Rajkumar
c0187865ea
Implement log file rotation
2014-07-02 17:36:21 -04:00
Daniel Larimer
c7013d3eea
update log_message to take std::string rather than const char*
2014-06-19 11:29:57 -04:00
Daniel Larimer
7a51b73680
adding ulog to send messages to the user log stream
2014-06-19 11:19:22 -04:00
Eric Frias
6ef1c3e5d9
Spelling fix
2014-06-16 18:48:02 -04:00
Daniel Larimer
0c0a53541a
made it easier to define custom loggers per file
2014-06-16 16:27:21 -04:00
Daniel Larimer
4385bbe49a
serialization and copy support for exceptions
2014-06-12 02:23:52 -04:00
Daniel Larimer
36d657fb62
enhance console appender
2014-06-11 23:41:10 -04:00
Eric Frias
f034839f10
Work around bugs in Visual C++ variadic macro parsing and/or non-standard use of same. Compiles on win32 and linux, whether it works is anyone's guess.
2014-06-10 09:56:58 -04:00
Daniel Larimer
d046526974
upgrade exception handling to support custom types in 3rd party libraries
2014-06-06 16:42:42 -04:00
Eric Frias
8bdc6fd219
Colorize fc log messages on win32
2014-04-06 18:06:43 -04:00
Daniel Larimer
fb2fddf25c
update logger
2014-01-14 14:00:30 -05:00
Daniel Larimer
b59fe17562
Merge branch 'phoenix' of github.com:bytemaster/fc into phoenix
...
Remove fc::vector and fc::string
2013-06-27 14:45:11 -04:00
Daniel Larimer
b07aed4a22
Update use of fc::string and fc::vector.
2013-06-27 14:19:08 -04:00
Daniel Larimer
1f3e6739c6
switch to std::vector from fc::vector
2013-06-06 22:49:30 -04:00
Daniel Larimer
59a121d64b
Updating FC with changes from phoenix-int
2013-06-05 15:19:00 -04:00