Skip to content

Commit 93c797a

Browse files
committed
try to fix lint issue.
1 parent e292c79 commit 93c797a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iceberg/util/logger.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class ICEBERG_EXPORT LoggerRegistry {
128128
std::format_args args) {
129129
auto* typed_logger = static_cast<const LoggerImpl*>(logger_ptr);
130130
std::string formatted_message = std::vformat(format_str, args);
131-
typed_logger->Log(level, location, "{}", formatted_message);
131+
typed_logger->Log(level, location, formatted_message);
132132
};
133133
should_log_func_ = [](const void* logger_ptr, LogLevel level) -> bool {
134134
auto* typed_logger = static_cast<const LoggerImpl*>(logger_ptr);
@@ -157,7 +157,7 @@ class ICEBERG_EXPORT LoggerRegistry {
157157
log_func_(default_logger_.get(), level, location, format_str, args_store);
158158
} else {
159159
log_func_(default_logger_.get(), level, location, format_str,
160-
std::format_args{});
160+
std::make_format_args());
161161
}
162162
} catch (const std::exception& e) {
163163
std::cerr << "Logging error: " << e.what() << std::endl;

0 commit comments

Comments
 (0)