Merge pull request #8533 from delroth/notice-logs

DualShockUDPClient: downgrade spurious NOTICE_LOGs
This commit is contained in:
Pierre Bourdon 2019-12-23 18:50:03 +01:00 committed by GitHub
commit 02680ef7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ static sf::Socket::Status ReceiveWithTimeout(sf::UdpSocket& socket, void* data,
static void HotplugThreadFunc()
{
Common::SetCurrentThreadName("DualShockUDPClient Hotplug Thread");
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread started");
INFO_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread started");
while (s_hotplug_thread_running.IsSet())
{
@ -211,7 +211,7 @@ static void HotplugThreadFunc()
}
}
}
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread stopped");
INFO_LOG(SERIALINTERFACE, "DualShockUDPClient hotplug thread stopped");
}
static void StartHotplugThread()
@ -241,7 +241,7 @@ static void StopHotplugThread()
static void Restart()
{
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient Restart");
INFO_LOG(SERIALINTERFACE, "DualShockUDPClient Restart");
StopHotplugThread();
@ -281,7 +281,7 @@ void Init()
void PopulateDevices()
{
NOTICE_LOG(SERIALINTERFACE, "DualShockUDPClient PopulateDevices");
INFO_LOG(SERIALINTERFACE, "DualShockUDPClient PopulateDevices");
g_controller_interface.RemoveDevice(
[](const auto* dev) { return dev->GetSource() == "DSUClient"; });