summaryrefslogtreecommitdiffstats
path: root/common/log.h
Commit message (Collapse)AuthorAge
* Completely shortcut the stream evaluation if we're not going to use theChristian Mollekopf2017-05-12
| | | | | | | | | output Serializing the data is the expensive part, so we want to completely avoid that for the noisier part if we're not going to use it. Additionally we're now using a stringbuilder for the debugarea to try to further improve the situation with temporary memory allocations.
* Only use the filename as area, not the full path.Christian Mollekopf2017-05-12
|
* Starting to get rid of the SINK_DEBUG_AREAChristian Mollekopf2017-05-11
|
* Centralized Sink::Log::debugStream callChristian Mollekopf2017-05-11
|
* SINK_EXPORT for free functions needs to go to the beginningChristian Mollekopf2017-01-26
|
* Ignore the component if we use a log contextChristian Mollekopf2017-01-18
|
* Better debug outputChristian Mollekopf2016-12-23
|
* More Log::ContextChristian Mollekopf2016-12-22
|
* Introduced Log::ContextChristian Mollekopf2016-12-22
| | | | | | | To have hierarchical debug output we have to pass around something at run-time, there is no reasonable alternative. Log::Context provides the identifier to do just that and largely replaces the debug component idea.
* sinksh trace command including autocompletionChristian Mollekopf2016-07-07
| | | | | The sinksh command allows to easily turn tracing for certain areas on or off.
* A new debug system.Christian Mollekopf2016-07-07
| | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names.
* Prepared sinksh traceChristian Mollekopf2016-07-07
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Use Sink instead of SinkCommonChristian Mollekopf2016-02-09
|
* Trace some timings.Christian Mollekopf2016-02-08
|
* Use a config file instead of environment variables for log settings.Christian Mollekopf2016-02-05
| | | | | | | | qputenv only modifies the env of the current process, so akonadish didn't work at all to change the settings. We might have to do some performance optimizations at some point, but for the time being this works.
* Logging cleanupChristian Mollekopf2016-02-05
|
* Set debug outputChristian Mollekopf2016-02-05
|
* Filter debug output by program name and areaChristian Mollekopf2016-02-04
|
* Log: fixed colors, updated output format and introduced debug areasChristian Mollekopf2016-02-03
|
* Insall sincommon_export.hChristian Mollekopf2016-01-31
|
* Explicitly state visibilityChristian Mollekopf2016-01-31
| | | | | | | | | This cuts the exportet symbols from 12k to 2k and the library size from 16Mb to 14Mb, which isn't great but still an improvement. About 30% of the symbols are coming from the Store:: interface. nm -C -D /work/install/lib64/libsinkcommon.so.0.1
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* more helpersAaron Seigo2016-01-10
|
* A way to set the debuglevel.Christian Mollekopf2015-08-13
| | | | | | Unittests can set the level themselves (so i.e. benchmarks don't print a shitload of messages), while in normal operation we can set it from the environment. There's no override currently, but first things first.
* LoggingChristian Mollekopf2015-05-01
|
* Renamed the Error log macro to ErrorMsg because of nameclashesChristian Mollekopf2015-04-18
| | | | With Storage::Error. Perhaps turn to akLog, akError, ...?
* Resource crashhandler and logging facilities.Christian Mollekopf2015-03-31