diff options
| author | 2014-12-06 20:00:08 -0200 | |
|---|---|---|
| committer | 2014-12-13 02:08:06 -0200 | |
| commit | 0e0a007a2503d468391004c8ea2faae305232345 (patch) | |
| tree | 75feea527bd46aa4c534b77b560c89d538757f7f /src/common/logging/text_formatter.h | |
| parent | Convert old logging calls to new logging macros (diff) | |
| download | yuzu-0e0a007a2503d468391004c8ea2faae305232345.tar.gz yuzu-0e0a007a2503d468391004c8ea2faae305232345.tar.xz yuzu-0e0a007a2503d468391004c8ea2faae305232345.zip | |
Add configurable per-class log filtering
Diffstat (limited to 'src/common/logging/text_formatter.h')
| -rw-r--r-- | src/common/logging/text_formatter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h index 04164600f..d7e298e28 100644 --- a/src/common/logging/text_formatter.h +++ b/src/common/logging/text_formatter.h | |||
| @@ -11,6 +11,7 @@ namespace Log { | |||
| 11 | 11 | ||
| 12 | class Logger; | 12 | class Logger; |
| 13 | struct Entry; | 13 | struct Entry; |
| 14 | class Filter; | ||
| 14 | 15 | ||
| 15 | /** | 16 | /** |
| 16 | * Attempts to trim an arbitrary prefix from `path`, leaving only the part starting at `root`. It's | 17 | * Attempts to trim an arbitrary prefix from `path`, leaving only the part starting at `root`. It's |
| @@ -33,6 +34,6 @@ void PrintMessage(const Entry& entry); | |||
| 33 | * Logging loop that repeatedly reads messages from the provided logger and prints them to the | 34 | * Logging loop that repeatedly reads messages from the provided logger and prints them to the |
| 34 | * console. It is the baseline barebones log outputter. | 35 | * console. It is the baseline barebones log outputter. |
| 35 | */ | 36 | */ |
| 36 | void TextLoggingLoop(std::shared_ptr<Logger> logger); | 37 | void TextLoggingLoop(std::shared_ptr<Logger> logger, const Filter* filter); |
| 37 | 38 | ||
| 38 | } | 39 | } |