...
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
||||
std::vector<std::string> vsg;
|
||||
|
||||
std::ranges::transform(sig_range, std::back_inserter(vsg),
|
||||
[](auto s) { return std::format("'{}'", sigdescr_np(s)); });
|
||||
[](auto s) { return std::format("'{}' (No = {})", sigdescr_np(s), s); });
|
||||
|
||||
utils::AdcJoinRange(vsg, std::string_view(", "), sgs);
|
||||
#else
|
||||
@@ -184,7 +184,8 @@ protected:
|
||||
virtual void signalReceived(std::error_code ec, int signo)
|
||||
{
|
||||
#ifdef _GNU_SOURCE
|
||||
this->logInfo("The server received the signal: '{}' (ec = {})", sigdescr_np(signo), ec.message());
|
||||
this->logInfo("The server received the signal: '{}' (No = {}, ec = {})", sigdescr_np(signo), signo,
|
||||
ec.message());
|
||||
#else
|
||||
this->logInfo("The server received the signal: {} (ec = {})", signo, ec.message());
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user