mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
modules/m_presence: Fix logger target for various messages.
This commit is contained in:
parent
b3038fa5e7
commit
0841b44534
1 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ catch(const std::exception &e)
|
|||
{
|
||||
log::derror
|
||||
{
|
||||
m::log, "Presence from %s :%s",
|
||||
presence_log, "Presence from %s :%s",
|
||||
json::get<"origin"_>(event),
|
||||
e.what(),
|
||||
};
|
||||
|
@ -93,7 +93,7 @@ try
|
|||
{
|
||||
log::dwarning
|
||||
{
|
||||
m::log, "Ignoring %s from %s for user %s",
|
||||
presence_log, "Ignoring %s from %s for user %s",
|
||||
at<"type"_>(event),
|
||||
at<"origin"_>(event),
|
||||
string_view{user_id}
|
||||
|
@ -197,7 +197,7 @@ catch(const m::error &e)
|
|||
{
|
||||
log::error
|
||||
{
|
||||
m::log, "Presence from %s :%s :%s",
|
||||
presence_log, "Presence from %s :%s :%s",
|
||||
json::get<"origin"_>(event),
|
||||
e.what(),
|
||||
e.content
|
||||
|
|
Loading…
Reference in a new issue