Akonadi::Server::FileTracer
#include <filetracer.h>
Public Member Functions | |
FileTracer (const QString &fileName) | |
void | beginConnection (const QString &identifier, const QString &msg) override |
void | connectionInput (const QString &identifier, const QByteArray &msg) override |
void | connectionOutput (const QString &identifier, const QByteArray &msg) override |
void | endConnection (const QString &identifier, const QString &msg) override |
void | error (const QString &componentName, const QString &msg) override |
void | signal (const QString &signalName, const QString &msg) override |
void | warning (const QString &componentName, const QString &msg) override |
Public Member Functions inherited from Akonadi::Server::TracerInterface | |
virtual ConnectionFormat | connectionFormat () const |
Additional Inherited Members | |
Public Types inherited from Akonadi::Server::TracerInterface | |
enum | ConnectionFormat { DebugString , Json } |
Protected Member Functions inherited from Akonadi::Server::TracerInterface |
Detailed Description
A tracer which forwards all tracing information to a log file.
Definition at line 21 of file filetracer.h.
Constructor & Destructor Documentation
◆ FileTracer()
|
explicit |
Definition at line 12 of file filetracer.cpp.
Member Function Documentation
◆ beginConnection()
|
overridevirtual |
This method is called whenever a new data (imap) connection to the akonadi server is established.
- Parameters
-
identifier The unique identifier for this connection. All input and output messages for this connection will have the same identifier. msg A message specific string.
Implements Akonadi::Server::TracerInterface.
Definition at line 20 of file filetracer.cpp.
◆ connectionInput()
|
overridevirtual |
This method is called whenever the akonadi server retrieves some data from the outside.
- Parameters
-
identifier The unique identifier of the connection on which the data is retrieved. msg A message specific string.
Implements Akonadi::Server::TracerInterface.
Definition at line 30 of file filetracer.cpp.
◆ connectionOutput()
|
overridevirtual |
This method is called whenever the akonadi server sends some data out to a client.
- Parameters
-
identifier The unique identifier of the connection on which the data is send. msg A message specific string.
Implements Akonadi::Server::TracerInterface.
Definition at line 35 of file filetracer.cpp.
◆ endConnection()
This method is called whenever a data (imap) connection to akonadi server is closed.
- Parameters
-
identifier The unique identifier of this connection. msg A message specific string.
Implements Akonadi::Server::TracerInterface.
Definition at line 25 of file filetracer.cpp.
◆ error()
This method is called whenever a component wants to output an error.
Implements Akonadi::Server::TracerInterface.
Definition at line 50 of file filetracer.cpp.
◆ signal()
This method is called whenever a dbus signal is emitted on the bus.
- Parameters
-
signalName The name of the signal being sent. msg A message specific string.
Implements Akonadi::Server::TracerInterface.
Definition at line 40 of file filetracer.cpp.
◆ warning()
This method is called whenever a component wants to output a warning.
Implements Akonadi::Server::TracerInterface.
Definition at line 45 of file filetracer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.