From ad03d33d9c9b9c1e1e0ebb357b421715f9ed014a Mon Sep 17 00:00:00 2001 From: John Zhao Date: Thu, 19 Apr 2018 22:47:12 +0800 Subject: [PATCH] Change log message --- src/internal/channels.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internal/channels.cc b/src/internal/channels.cc index 38f6c60..c1a9249 100644 --- a/src/internal/channels.cc +++ b/src/internal/channels.cc @@ -76,7 +76,7 @@ void CheckSpecVersion(const Version *spec_version) { spec_versions.begin(), spec_versions.end(), std::ostream_iterator(ss, ",")); LOG(FATAL) << "Spec version " << spec_version->to_string() - << " not supported, must be {" << ss.str() << "}"; + << " not supported, must in [" << ss.str() << "]"; } } // namespace @@ -184,8 +184,8 @@ void Channels::SetControlValue(const Option &option, std::int32_t value) { std::copy( values.begin(), values.end(), std::ostream_iterator(ss, ",")); - LOG(WARNING) << option << " set value invalid, must be {" << ss.str() - << "}"; + LOG(WARNING) << option << " set value invalid, must in [" << ss.str() + << "]"; return false; } };