mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Remove legacy GENERAL log channel
Add some more log channels instead.
This commit is contained in:
parent
efafda2650
commit
d9a0619ddd
26 changed files with 269 additions and 221 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#include "user_account.h"
|
||||
|
||||
LOG_CHANNEL(gui_log);
|
||||
|
||||
UserAccount::UserAccount(const std::string& user_id)
|
||||
{
|
||||
// Setting userId.
|
||||
|
|
@ -18,12 +20,12 @@ UserAccount::UserAccount(const std::string& user_id)
|
|||
if (m_username.length() > 16) // max of 16 chars on real PS3
|
||||
{
|
||||
m_username = m_username.substr(0, 16);
|
||||
LOG_WARNING(GENERAL, "UserAccount: localusername of userId=%s was too long, cropped to: %s", m_user_id, m_username);
|
||||
gui_log.warning("UserAccount: localusername of userId=%s was too long, cropped to: %s", m_user_id, m_username);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_ERROR(GENERAL, "UserAccount: localusername file read error (userId=%s, userDir=%s).", m_user_id, m_user_dir);
|
||||
gui_log.error("UserAccount: localusername file read error (userId=%s, userDir=%s).", m_user_id, m_user_dir);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue