Start
Guides
Class List
Files
File List
All
Classes
Files
Functions
Variables
Typedefs
Pages
service
ServiceProvider.hpp
1
#pragma once
2
3
#include "../config/ContextProxy.hpp"
4
#include "Logger.hpp"
5
6
namespace
lumina {
7
8
inline
Logger& getLoggerService(config::ServiceContext cnt) {
9
static
Logger instances[
static_cast<
int
>
(config::serviceContextNumValues)];
10
return
instances[
static_cast<
int
>
(cnt)];
11
}
12
13
}
// namespace lumina
Last update on Wed Aug 13 2014 for Lumina v0.1