blob: ea62ac2467c5e5ee26d0dc8a2c118169d5dc60d2 (
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.hxx>
#include <bbot/diagnostics.hxx>
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);
}
}
}
|