aboutsummaryrefslogtreecommitdiff
path: root/include/logging.h
Commit message (Collapse)AuthorAgeFilesLines
* Move service types to their own namespace.Gravatar Sadie Powell2026-03-291-1/+1
| | | | | | | | | | | - ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them.
* Switch modules from reference<> to shared_ptr<> and weak_ptr<>.Gravatar Sadie Powell2026-03-291-3/+3
|
* Switch typedefs to using statements.Gravatar Sadie Powell2026-03-261-1/+1
|
* Fix the fmt namespace on Windows.Gravatar Sadie Powell2025-03-291-1/+1
|
* Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-291-1/+9
|\
| * Handle errors from {fmt} in Log::Manager::Write.Gravatar Sadie Powell2025-03-281-1/+9
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-01-171-7/+25
|\|
| * Don't format log messages if we can't actually log them.Gravatar Sadie Powell2025-01-111-7/+25
| | | | | | | | | | This should prevent debug messages from potentially causing performance issues on production servers.
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-09-091-1/+4
|\|
| * Fix rawio logs not being written after a rehash.Gravatar Sadie Powell2024-09-091-0/+3
| |
| * Update copyright headers.Gravatar InspIRCd Robot2024-09-071-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-08-231-0/+9
|\|
| * Close loggers and notify opers if they throw any exceptions.Gravatar Sadie Powell2024-08-231-0/+9
| |
* | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-5/+5
|/
* Fix formatting strings on C++20 compilers.Gravatar Sadie Powell2024-08-221-5/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
|
* Rename the error log level to critical.Gravatar Sadie Powell2023-08-111-11/+7
| | | | | "ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions.
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-5/+5
|
* Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.Gravatar Sadie Powell2023-01-231-43/+30
|
* Move NotifyRawIO to the Log namespace.Gravatar Sadie Powell2023-01-221-6/+6
|
* Fix Cloak::Method and Log::Method being needlessly Cullable.Gravatar Sadie Powell2023-01-181-1/+5
| | | | | If a method needs to be cullable it can inherit from that type and pass Cullable::Deleter as a custom deleter to the shared_ptr.
* Make some functions that don't use `this` static.Gravatar Sadie Powell2023-01-111-1/+1
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-3/+3
|
* Deduplicate sending the raw I/O logging warning.Gravatar Sadie Powell2023-01-091-0/+6
|
* Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-4/+4
|
* Use NOMINMAX on Windows and undefine error in the log header.Gravatar Sadie Powell2022-09-231-0/+4
|
* Fix more warnings discovered with -Weverything.Gravatar Sadie Powell2022-09-051-3/+1
|
* Fix cached log messages not having the correct timestamp.Gravatar Sadie Powell2022-08-231-3/+7
|
* Fix various Doxygen comment issues.Gravatar Sadie Powell2022-05-021-11/+6
|
* Flush logs every 15 minutes to avoid losing data.Gravatar Sadie Powell2022-05-021-0/+4
|
* Add a log method for stringifying a logging method.Gravatar Sadie Powell2022-05-021-0/+7
|
* Mark fields that take a Log::Engine* as non-null.Gravatar Sadie Powell2022-05-011-2/+2
|
* Rewrite the entire logging system.Gravatar Sadie Powell2022-05-011-0/+350
- Much cleaner API for writing to the log. - Adds support for stderr and stdout logging to the core. - Adds support for sql and syslog logging in modules.