libzypp 17.31.23
|
Report active throughout the whole rpm transaction. More...
#include <ZYppCallbacks.h>
Public Types | |
enum class | loglevel { dbg , msg , war , err , crt } |
Rendering hint for log-lines to show. More... | |
Public Types inherited from zypp::callback::ReportBase | |
typedef callback::UserData | UserData |
typedef UserData::ContentType | ContentType |
Static Public Member Functions | |
static const char *const | loglevelPrefix (loglevel level_r) |
Suggested prefix for log-lines to show. | |
Static Public Attributes | |
static const UserData::ContentType | contentLogline { "zypp-rpm", "logline" } |
"zypp-rpm/logline" report a line suitable to be written to the screen. | |
Additional Inherited Members | |
Public Member Functions inherited from zypp::callback::ReportBase | |
virtual void | report (const UserData &userData_r=UserData()) |
The most generic way of sending/receiving data. | |
virtual | ~ReportBase () |
Report active throughout the whole rpm transaction.
The report covers events not directly related to an individual sub-task. Mostly log lines.
Definition at line 685 of file ZYppCallbacks.h.
|
strong |
Rendering hint for log-lines to show.
Enumerator | |
---|---|
dbg | |
msg | |
war | |
err | |
crt |
Definition at line 694 of file ZYppCallbacks.h.
|
inlinestatic |
Suggested prefix for log-lines to show.
Definition at line 696 of file ZYppCallbacks.h.
|
static |
"zypp-rpm/logline"
report a line suitable to be written to the screen.
UserData: "line"
: std::reference_wrapper<const std::string>; the line to show "level"
: enum class loglevel; rendering hint
Definition at line 692 of file ZYppCallbacks.h.