diff options
author | Chris Robinson <[email protected]> | 2019-09-08 00:59:10 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-08 00:59:10 -0700 |
commit | ec8b56ef3bae5bff16b93b08f9c6cab11b7e53b2 (patch) | |
tree | 39f35a9f6039bfca36f7b50cf03e1f6c3ee18a3e | |
parent | fcb496bb5c8735a9a1efc926bd0caa8657bbaf5e (diff) |
Remove unneeded TRACEREF logging
-rw-r--r-- | alc/hrtf.cpp | 4 | ||||
-rw-r--r-- | alc/logging.h | 5 | ||||
-rw-r--r-- | docs/env-vars.txt | 3 |
3 files changed, 2 insertions, 10 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp index c0e2b982..5a39f686 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -1373,13 +1373,13 @@ HrtfEntry *GetLoadedHrtf(HrtfHandle *handle) void HrtfEntry::IncRef() { auto ref = IncrementRef(this->ref); - TRACEREF("HrtfEntry %p increasing refcount to %u\n", this, ref); + TRACE("HrtfEntry %p increasing refcount to %u\n", this, ref); } void HrtfEntry::DecRef() { auto ref = DecrementRef(this->ref); - TRACEREF("HrtfEntry %p decreasing refcount to %u\n", this, ref); + TRACE("HrtfEntry %p decreasing refcount to %u\n", this, ref); if(ref == 0) { std::lock_guard<std::mutex> _{LoadedHrtfLock}; diff --git a/alc/logging.h b/alc/logging.h index 8a3e75e6..24cfda71 100644 --- a/alc/logging.h +++ b/alc/logging.h @@ -38,11 +38,6 @@ enum LogLevel { }; extern LogLevel gLogLevel; -#define TRACEREF(...) do { \ - if UNLIKELY(gLogLevel >= LogRef) \ - AL_PRINT("(--)", __VA_ARGS__); \ -} while(0) - #define TRACE(...) do { \ if UNLIKELY(gLogLevel >= LogTrace) \ AL_PRINT("(II)", __VA_ARGS__); \ diff --git a/docs/env-vars.txt b/docs/env-vars.txt index a973ee81..2b8d5e4d 100644 --- a/docs/env-vars.txt +++ b/docs/env-vars.txt @@ -11,9 +11,6 @@ Specifies the amount of logging OpenAL Soft will write out: 1 - Prints out errors only 2 - Prints out warnings and errors 3 - Prints out additional information, as well as warnings and errors -4 - Same as 3, but also device and context reference count changes. This will - print out *a lot* of info, and is generally not useful unless you're trying - to track a reference leak within the library. ALSOFT_LOGFILE Specifies a filename that logged output will be written to. Note that the file |