1*635de8c6SMatt Spinler /**
2*635de8c6SMatt Spinler  * Copyright © 2020 IBM Corporation
3*635de8c6SMatt Spinler  *
4*635de8c6SMatt Spinler  * Licensed under the Apache License, Version 2.0 (the "License");
5*635de8c6SMatt Spinler  * you may not use this file except in compliance with the License.
6*635de8c6SMatt Spinler  * You may obtain a copy of the License at
7*635de8c6SMatt Spinler  *
8*635de8c6SMatt Spinler  *     http://www.apache.org/licenses/LICENSE-2.0
9*635de8c6SMatt Spinler  *
10*635de8c6SMatt Spinler  * Unless required by applicable law or agreed to in writing, software
11*635de8c6SMatt Spinler  * distributed under the License is distributed on an "AS IS" BASIS,
12*635de8c6SMatt Spinler  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*635de8c6SMatt Spinler  * See the License for the specific language governing permissions and
14*635de8c6SMatt Spinler  * limitations under the License.
15*635de8c6SMatt Spinler  */
16*635de8c6SMatt Spinler #include "config.h"
17*635de8c6SMatt Spinler 
18*635de8c6SMatt Spinler #include "logging.hpp"
19*635de8c6SMatt Spinler 
20*635de8c6SMatt Spinler namespace phosphor::fan
21*635de8c6SMatt Spinler {
22*635de8c6SMatt Spinler 
getLogger()23*635de8c6SMatt Spinler Logger& getLogger()
24*635de8c6SMatt Spinler {
25*635de8c6SMatt Spinler     static Logger logger{NUM_PRESENCE_LOG_ENTRIES};
26*635de8c6SMatt Spinler 
27*635de8c6SMatt Spinler     return logger;
28*635de8c6SMatt Spinler }
29*635de8c6SMatt Spinler 
30*635de8c6SMatt Spinler } // namespace phosphor::fan
31