summaryrefslogtreecommitdiffstats
path: root/src/main.cc
blob: b468814f54f5f662707fe0d74f9a5d1e8b70a0ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# include <boost/log/core.hpp>
# include "astroid.hh"

namespace logging = boost::log;

int main (int argc, char **argv) {
  Astroid::astroid = Astroid::Astroid::create ();
  int r = Astroid::astroid->run (argc, argv);
  logging::core::get()->remove_all_sinks ();
  return r;
}