logging.c


Log

Author Commit Date CI Message
Luke Dashjr da4ff2bd 2012-07-23T20:22:01 Bugfix: Use a mutex to control non-curses output Without this, there is no guarantee writes won't overlap (and it happens quite a bit on Windows with the bitforce driver)
Luke Dashjr d98e561a 2012-07-23T20:15:45 Simplify code to a single vprintf path for curses-less printing
Luke Dashjr 80593c47 2012-07-23T19:56:03 Move opt_quiet check to my_log_curses, so it works for curses-less builds
Luke Dashjr d2195bd0 2012-07-23T19:41:41 Use log_generic for vapplog to cut down on code duplication
Luke Dashjr 1097aefb 2012-07-23T19:35:51 Add space to log output now that there is more screen real estate available.
Luke Dashjr a1edc7db 2012-07-15T05:37:49 Bugfix: Fix build without curses but with OpenCL
Con Kolivas 4da6758f 2012-04-28T00:34:35 Add space to log output now that there is more screen real estate available.
Luke Dashjr ed8382c8 2012-03-12T14:56:05 Make curses TUI support optional at compile-time.
Con Kolivas d1cddf8b 2012-02-21T22:23:07 Update licensing to GPL V3.
Con Kolivas 810ad045 2012-02-18T23:16:08 More copyright updates.
Con Kolivas 11123848 2012-02-12T17:53:50 Fix missing field initialisers warnings.
Con Kolivas be8ad579 2012-02-12T11:41:58 Add missing define in logging.c for isatty()
zefir e0fec357 2012-02-11T19:31:34 modularized logging, support for priority based logging Functions related to logging are extracted into dedicated source files for better maintainability. The existing low-level logging API is extended with a generalized scheme providing log functions log_{error, warning, notice, info, debug} that log messages based on a global opt_log_level. opt_log_level for now is set to LOG_NOTICE and might be modified via command line options or config files in future releases.