Lines Matching full:strings
122 // Positions of various strings in an iovec.
226 std::vector<std::string> strings{static_locs}; in do_log() local
231 strings[pos_fmtmsg] = "LOG2_FMTMSG="s + m; in do_log()
232 strings[pos_prio] = "PRIORITY="s + std::to_string(static_cast<uint64_t>(l)); in do_log()
233 strings[pos_file] = "CODE_FILE="s + s.file_name(); in do_log()
234 strings[pos_line] = "CODE_LINE="s + std::to_string(s.line()); in do_log()
235 strings[pos_func] = "CODE_FUNC="s + s.function_name(); in do_log()
286 strings.emplace_back(h + '=' + value); in do_log()
297 // Add the final message into the strings array. in do_log()
298 strings[pos_msg] = "MESSAGE="s + message.data(); in do_log()
300 // Trasform strings -> iovec. in do_log()
302 std::ranges::transform(strings, std::back_inserter(iov), [](auto& s) { in do_log()
309 sd_journal_sendv(iov.data(), strings.size()); in do_log()