summaryrefslogtreecommitdiff
path: root/libcult/cult/trace/log.ixx
blob: fbc23d95b7ad1c208f6f2b06bdbbe213e13aea0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// file      : cult/trace/log.ixx
// author    : Boris Kolpackov <boris@kolpackov.net>
// copyright : Copyright (c) 2005-2010 Boris Kolpackov
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

namespace Cult
{
  namespace Trace
  {
    inline
    Log& Log::
    operator<< (Record const& r)
    {
      if (r.level () <= level_)
        log_impl (r);

      return *this;
    }
  }
}