// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tensorflow/lite/minimal_logging.h" #include <stdarg.h> #include "base/logging.h" #include "base/strings/stringprintf.h" namespace tflite { namespace logging_internal { namespace { int GetChromiumLogSeverity(LogSeverity severity) { … } } // namespace #ifndef NDEBUG // In debug builds, default is VERBOSE. LogSeverity MinimalLogger::minimum_log_severity_ = …; #else // In prod builds, default is INFO. LogSeverity MinimalLogger::minimum_log_severity_ = TFLITE_LOG_INFO; #endif void MinimalLogger::LogFormatted(LogSeverity severity, const char* format, va_list args) { … } } // namespace logging_internal } // namespace tflite