]> git.tdb.fi Git - builder.git/blob - source/logger.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / logger.h
1 #ifndef LOGGER_H_
2 #define LOGGER_H_
3
4 #include <set>
5 #include <string>
6
7 class Logger
8 {
9 private:
10         std::set<std::string> enabled_channels;
11
12 public:
13         void enable_channel(const std::string &);
14         void disable_channel(const std::string &);
15
16         void log(const std::string &, const std::string &) const;
17 };
18
19 #endif