10237971cSBrad Bishop /**
20237971cSBrad Bishop  * Copyright © 2017 IBM Corporation
30237971cSBrad Bishop  *
40237971cSBrad Bishop  * Licensed under the Apache License, Version 2.0 (the "License");
50237971cSBrad Bishop  * you may not use this file except in compliance with the License.
60237971cSBrad Bishop  * You may obtain a copy of the License at
70237971cSBrad Bishop  *
80237971cSBrad Bishop  *     http://www.apache.org/licenses/LICENSE-2.0
90237971cSBrad Bishop  *
100237971cSBrad Bishop  * Unless required by applicable law or agreed to in writing, software
110237971cSBrad Bishop  * distributed under the License is distributed on an "AS IS" BASIS,
120237971cSBrad Bishop  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130237971cSBrad Bishop  * See the License for the specific language governing permissions and
140237971cSBrad Bishop  * limitations under the License.
150237971cSBrad Bishop  */
160237971cSBrad Bishop #include "errors.hpp"
170237971cSBrad Bishop 
18*cf5d024bSGeorge Liu #include <phosphor-logging/lg2.hpp>
19a680d1efSPatrick Venture 
200237971cSBrad Bishop namespace phosphor
210237971cSBrad Bishop {
220237971cSBrad Bishop namespace inventory
230237971cSBrad Bishop {
240237971cSBrad Bishop namespace manager
250237971cSBrad Bishop {
log() const260237971cSBrad Bishop void InterfaceError::log() const
270237971cSBrad Bishop {
28*cf5d024bSGeorge Liu     lg2::error("{INTF} unrecognized", "INTF", interface);
290237971cSBrad Bishop }
300237971cSBrad Bishop } // namespace manager
310237971cSBrad Bishop } // namespace inventory
320237971cSBrad Bishop } // namespace phosphor
330237971cSBrad Bishop 
340237971cSBrad Bishop // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
35