mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-17 20:35:18 +00:00
Emu: make "Silence All Logs" dynamic
This commit is contained in:
parent
d6b8213c9f
commit
fc3a134e7d
7 changed files with 51 additions and 16 deletions
|
|
@ -208,6 +208,14 @@ namespace logs
|
|||
}
|
||||
}
|
||||
|
||||
void set_channel_levels(const std::map<std::string, logs::level>& map)
|
||||
{
|
||||
for (auto&& pair : map)
|
||||
{
|
||||
logs::set_level(pair.first, pair.second);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> get_channels()
|
||||
{
|
||||
std::vector<std::string> result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue