diff options
author | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:18 +0800 |
---|---|---|
committer | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:18 +0800 |
commit | 81ce37eb93e8ce442ecb1855a4e7166628128ac7 (patch) | |
tree | 2af6329f74f88ce090d08c61db5fb4bed8656584 /src/utils/logging.h | |
parent | 4dab0c756a3cdd65b43470a4cca835422b32ca6e (diff) | |
parent | 2381d803c76105f44717d75f089ec37f51e5cfe4 (diff) | |
download | libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.tar.gz libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.tar.bz2 libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.zip |
Update upstream source from tag 'upstream/0.16.3'
Update to upstream version '0.16.3'
with Debian dir a433e04a69210eb8fcdd6089240e161eb33f0590
Diffstat (limited to 'src/utils/logging.h')
-rw-r--r-- | src/utils/logging.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/utils/logging.h b/src/utils/logging.h index 48928db..473aebd 100644 --- a/src/utils/logging.h +++ b/src/utils/logging.h @@ -35,13 +35,13 @@ // setting LIBGAV1_ENABLE_LOGGING. // Severity is given as an all-caps version of enum LogSeverity with the // leading 'k' removed: LIBGAV1_DLOG(INFO, "..."); -#define LIBGAV1_DLOG(severity, ...) \ - do { \ - constexpr const char* libgav1_logging_internal_basename = \ - ::libgav1::internal::Basename(__FILE__, sizeof(__FILE__) - 1); \ - ::libgav1::internal::Log(LIBGAV1_LOGGING_INTERNAL_##severity, \ - libgav1_logging_internal_basename, __LINE__, \ - __VA_ARGS__); \ +#define LIBGAV1_DLOG(severity, ...) \ + do { \ + constexpr const char* libgav1_logging_internal_basename = \ + libgav1::internal::Basename(__FILE__, sizeof(__FILE__) - 1); \ + libgav1::internal::Log(LIBGAV1_LOGGING_INTERNAL_##severity, \ + libgav1_logging_internal_basename, __LINE__, \ + __VA_ARGS__); \ } while (0) #else #define LIBGAV1_DLOG(severity, ...) \ @@ -49,10 +49,10 @@ } while (0) #endif // LIBGAV1_ENABLE_LOGGING -#define LIBGAV1_LOGGING_INTERNAL_ERROR ::libgav1::internal::LogSeverity::kError +#define LIBGAV1_LOGGING_INTERNAL_ERROR libgav1::internal::LogSeverity::kError #define LIBGAV1_LOGGING_INTERNAL_WARNING \ - ::libgav1::internal::LogSeverity::kWarning -#define LIBGAV1_LOGGING_INTERNAL_INFO ::libgav1::internal::LogSeverity::kInfo + libgav1::internal::LogSeverity::kWarning +#define LIBGAV1_LOGGING_INTERNAL_INFO libgav1::internal::LogSeverity::kInfo namespace libgav1 { namespace internal { |