libbitcoin / libbitcoin-network

Bitcoin P2P Network Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add date-time capture and log levels to log closures.

evoskuil opened this issue · comments

Create log levels with independent macros, parameterize and/or compiled out. LOG_FAULT (unexpected) < LOG_PROGRESS (chain) < LOG_INFO (messages) < LOG_VERBOSE (debug)
Logs are cumulative, redundant, and independently directable to any stream, including rotable files. File names are hard-wired into a configurable directory, like database. Console logs at an independently-specified level. Add performance timers logging to logger.

Complete #323