mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
use a more compact method to add and remove listeners t o all channels
This commit is contained in:
parent
1ad4380fab
commit
ae472e9e67
3 changed files with 18 additions and 16 deletions
|
@ -113,6 +113,8 @@ namespace Log
|
|||
static LogManager& getInstance();
|
||||
LogChannel& getChannel(LogType type);
|
||||
void log(LogMessage msg);
|
||||
void addListener(std::shared_ptr<LogListener> listener);
|
||||
void removeListener(std::shared_ptr<LogListener> listener);
|
||||
#ifdef BUFFERED_LOGGING
|
||||
void consumeLog();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue