aboutsummaryrefslogtreecommitdiff
path: root/include/logger.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+6
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
|
* Allow <log> tags to specify how often logs should be flushed.Gravatar Peter Powell2017-02-281-2/+6
| | | | Also use the behaviour behind this to fix #1290.
* Change allocation of InspIRCd::Logs to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-1/+1
| | | | containing it using fakederef
* Accept a LogLevel instead of an int in logging methods.Gravatar Peter Powell2013-05-191-6/+6
|
* Move LogHeader to LogStream.Gravatar Peter Powell2013-05-191-1/+2
|
* Move LogLevel enum from filelogger to logger.Gravatar Peter Powell2013-05-191-0/+11
|
* Tidy up source files:Gravatar Peter Powell2013-04-121-4/+1
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
|
* Fix Doxygen syntax errors.Gravatar Peter Powell2012-07-051-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* FileWriter hasn't been non-blocking for a very, very long time.Gravatar Robin Burchell2012-04-161-11/+1
|
* Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-141-2/+2
|
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
|
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Move command-line items to CommandLineConfGravatar danieldg2009-10-211-10/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of more unneeded parent classesGravatar danieldg2009-10-201-13/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7
* Close files opened by configreaderGravatar danieldg2009-10-191-12/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11915 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more classbaseGravatar danieldg2009-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11905 e03df62e-2008-0410-955e-edbf42e46eb7
* Add more debug logging of object lifetimesGravatar danieldg2009-10-181-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11900 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-11/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Valgrind cleanup: finish destructor creationGravatar danieldg2009-09-021-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11615 e03df62e-2008-0410-955e-edbf42e46eb7
* Reapply r11241: flush and close log filehandles properly when the log is closed.Gravatar dz2009-04-041-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert r11241 due to crashiness when rehashing from IRC.Gravatar dz2009-03-221-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually close file log FDs when we're done with them.Gravatar dz2009-03-211-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix peavey and w00ts bug they found by removing the nonblocking part of the ↵Gravatar brain2008-04-021-8/+0
| | | | | | logger. This stuff was hackish and isnt required. If your hard disk locks up, then you have bigger worries. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9276 e03df62e-2008-0410-955e-edbf42e46eb7
* Initialise a variable correctly to avoid valgrind warningGravatar w00t2008-04-011-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9252 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵Gravatar aquanight2008-03-301-1/+1
| | | | | | inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean ↵Gravatar aquanight2008-02-171-27/+78
| | | | | | everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8959 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some docsGravatar w00t2008-02-171-6/+65
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8958 e03df62e-2008-0410-955e-edbf42e46eb7
* Make -nofork work properly with logging now.Gravatar aquanight2008-02-151-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
* More <log> stuffGravatar aquanight2008-02-141-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
* Code for loading <log method=file> tags from config, but this still needs to ↵Gravatar aquanight2008-02-101-0/+90
| | | | | | be fit into the config reader stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7
* Per-logstream loglevels.Gravatar aquanight2008-02-101-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a bug in new logging API (global logstreams weren't notified of events ↵Gravatar w00t2008-02-091-4/+4
| | | | | | if a specific logstream had an event claimed, don't store type in logstreams (pass it to OnLog instead), and add an example of what the new logging API can do: m_chanlog - logs to #services at the moment. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8865 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement LogManager::CloseLogs() to give logstreams a chance to clean up on ↵Gravatar w00t2008-02-091-0/+1
| | | | | | rehash or exit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a printf-type override for LogManager::Log(). We need to find a way to ↵Gravatar w00t2008-02-091-0/+1
| | | | | | see if a log call would have any interest, to avoid unnecessary printf() here though. Convert a bunch of stuff to using new logging (added targets: USERS, USERIO) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8860 e03df62e-2008-0410-955e-edbf42e46eb7
* New logging implementation. Also write messages about InspIRCd::Log() being ↵Gravatar w00t2008-02-091-2/+3
| | | | | | deprecated. Any takers on changing it all to use the new system? :P. STILL TODO: create <log> blocks in config, add a method called to 'cleanup' (or use destructor) of logstreams, add a method to logmanager to initiate destruction of all logstreams. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8858 e03df62e-2008-0410-955e-edbf42e46eb7
* Initial totally untested logger implementation that does nothing.Gravatar w00t2008-02-091-0/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8856 e03df62e-2008-0410-955e-edbf42e46eb7
* Add logger.(cpp|h), will eventually hold implementation of logging managerGravatar w00t2008-01-171-0/+13
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8725 e03df62e-2008-0410-955e-edbf42e46eb7