0
0
Fork 0
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:
Jason Volk 2019-04-05 14:05:58 -07:00
parent b3038fa5e7
commit 0841b44534

View file

@ -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