summaryrefslogtreecommitdiff
path: root/utils/log.c
Commit message (Collapse)AuthorAgeFilesLines
* use logfile as variable name as cocoa gives an error about the symbol type ↵Vincent Sanders2015-05-291-8/+8
| | | | of logf
* Improve logging interface to reduce overheadVincent Sanders2015-05-291-10/+18
| | | | | | | | | | | | | This reduces logging overhead by only calling the log output function once instead of three times. Additionally the nslog_gettime interface no longer needs to be exported and the static function is directly inlined further reducing function call overhead. Finally the appending of a newline uses fputc instead of a full printf call which is considerably more simple and further reduces overhead time.
* Allow verbose logging to be directed to a fileVincent Sanders2015-05-291-1/+34
|
* Cast timeval.usec calculations to int as AmigaOS3 has some conflicting ↵Chris Young2015-01-191-3/+3
| | | | | | headers which means it can be treated as an unsigned value. This ensures the log time is always correct.
* move verbose log global into logging module and remove netsurf.h includeVincent Sanders2014-01-291-1/+2
|
* move the logging initialisation out to be call by frontendsVincent Sanders2013-05-231-11/+13
| | | | | This allows each frontend to pass a distinct callback to configure the output file stream appropriately for their use.
* reduce call overhead on log messagesVincent Sanders2012-11-051-6/+4
|
* Make log times line up for neatnessDaniel Silverstone2012-07-071-1/+1
|
* Move timeval_subtract to utils/log.c & make it static, as it's not used ↵John Mark Bell2011-10-151-1/+29
| | | | | | anywhere else svn path=/trunk/netsurf/; revision=13059
* Fix build with NDEBUG definedJohn Mark Bell2011-04-031-4/+9
| | | | svn path=/trunk/netsurf/; revision=12154
* move logging initialisationVincent Sanders2011-04-021-0/+29
| | | | svn path=/trunk/netsurf/; revision=12152
* Log to stderrJohn Mark Bell2011-03-121-0/+15
| | | | svn path=/trunk/netsurf/; revision=11983
* Changing Xcode project file to build using the Makefiles and fixed some ↵Sven Weidauer2011-01-311-1/+1
| | | | | | warnings. svn path=/trunk/netsurf/; revision=11558
* Fix windows url barVincent Sanders2010-10-171-0/+47
Clean up toolbar and urlbar creation and subclassing svn path=/trunk/netsurf/; revision=10891