mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
logs: implement logs::get_channels()
This commit is contained in:
parent
26cccead6e
commit
a867522b16
2 changed files with 21 additions and 0 deletions
|
@ -95,6 +95,9 @@ namespace logs
|
|||
|
||||
// Log level control: get channel level
|
||||
level get_level(const std::string&);
|
||||
|
||||
// Get all registered log channels
|
||||
std::vector<std::string> get_channels();
|
||||
}
|
||||
|
||||
#define LOG_CHANNEL(ch, ...) inline ::logs::channel ch(#ch, ##__VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue