Abit
33215ffb6e
Merge pull request #21 from pmconrad/variant_fix
...
Variant fix
2019-08-20 11:25:15 +02:00
pbattu
00efb88ac7
fc changes to support ubuntu-18.04 upgrade
2019-05-21 18:42:14 -03:00
Eric Frias
69a1ceabce
Add a fc_[diwe]dump() function, analogous to fc_[diew]log()
2018-05-09 15:39:57 -04:00
Eric Frias
57d14c7de8
Implement gzip-compression of rotated log files (this effectively
...
restores the functionality removed in 701b9ac00c ,
which had lzma-compression of rotated logs)
2016-08-16 14:20:20 -04:00
Eric Frias
605e9ed7ef
Change the variable substitution used in ilog(), FC_THROW() and similar
...
to make providing a name for the values to be logged optional; if not
specified, the variable name will be generated. In other words,
you can now say ilog("${foo}", (foo)) instead of ilog("${foo}", ("foo", foo)).
2016-04-06 10:19:28 -04:00
Eric Frias
556f45fcbf
Add missing ddump() macro
2015-08-04 10:24:31 -04:00
Vikram Rajkumar
701b9ac00c
Remove problematic easylzma
2015-06-23 16:19:36 -04:00
Vikram Rajkumar
3d17836a1e
Remove extraneous log config setting
2015-03-25 20:07:19 -04:00
Eric Frias
f3065b367e
Add log appender that sends logs in GrayLog Extended Log Format
2015-01-20 16:13:26 -05:00
Eric Frias
0366b2e6b3
Suppress annoying "conditional expression is constant" win32 warning
2015-01-20 16:10:34 -05:00
Eric Frias
5a615e6b21
Execute async tasks in the order they were asynced (this only changes the behavior of tasks that hadn't started executing yet, it doesn't change anything about the order blocked tasks unblock)
2014-10-03 16:53:14 -04:00
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