Lines Matching refs:LogEntry
35 class LogEntry {
37 LogEntry() = default;
38 LogEntry(const LogEntry&) = default;
39 LogEntry(LogEntry&&) = default;
40 ~LogEntry() = default;
41 LogEntry& operator=(const LogEntry&) = default;
42 LogEntry& operator=(LogEntry&&) = default;
50 LogEntry& message(const std::string& message);
53 LogEntry& function(const std::string& function_name);
55 LogEntry& prettyFunction(const std::string& pretty_function);
58 LogEntry& arg(const std::string& val);
60 LogEntry& arg(const std::vector<uint8_t>& val);
61 LogEntry& arg(const std::vector<int32_t>& val);
62 LogEntry& arg(const std::vector<std::string>& val);
64 LogEntry& arg(IntT val) { in arg()
71 LogEntry& arg<>(bool val);
74 LogEntry& args(const Args&... a) { in args()
83 LogEntry& returns(const std::string& rval);
84 LogEntry& returns(const Status& status);
85 LogEntry& returns(bool rval);
87 LogEntry& returns(T val) { in returns()
92 LogEntry& withUid(uid_t uid);
95 LogEntry& withAutomaticDuration();
97 LogEntry& withDuration(const std::string& duration);
120 LogEntry newEntry() const { return LogEntry(); } in newEntry()
126 void log(const LogEntry& entry) { log(entry.toString()); } in log()
141 void info(const LogEntry& entry) { info(entry.toString()); } in info()
156 void warn(const LogEntry& entry) { warn(entry.toString()); } in warn()
171 void error(const LogEntry& entry) { error(entry.toString()); } in error()