aboutsummaryrefslogtreecommitdiff
path: root/bbot/utility.cxx
blob: 6fcc463e61f432107dfa5aa4e883136054765b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// file      : bbot/utility.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license   : TBC; see accompanying LICENSE file

#include <bbot/utility>

#include <bbot/diagnostics>

using namespace std;
using namespace butl;

namespace bbot
{
  void
  run_trace (tracer& t, const char* cmd[], size_t n)
  {
    if (verb >= 3)
    {
      diag_record dr (t);
      process::print (dr.os, cmd, n);
    }
  }
}