blob: 14dd3803b02fdfaf01e1283ac1e2faacef81ddd2 [file] [log] [blame]
Ilya Moiseenkoa807e652014-01-28 11:51:01 -08001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 *
6 * Author: Ilya Moiseenko <iliamo@ucla.edu>
7 */
8
9#include "logger.hpp"
10
11namespace nfd
12{
13
14Logger::Logger(const std::string& name)
15 : m_moduleName(name),
16 m_isEnabled(true)
17{
18}
19
20std::ostream&
21operator<<(std::ostream& output, const Logger& obj)
22{
23 output << obj.getName();
24 return output;
25}
26
27} // namespace nfd