Hello all, I was wondering how I could go about using the Boost library project (among others) in swift? For instance, how would I write the following program in swift? #include <boost/log/trivial.hpp>
int main(int, char*[]) { BOOST_LOG_TRIVIAL(trace) << "A trace severity message"; BOOST_LOG_TRIVIAL(debug) << "A debug severity message"; BOOST_LOG_TRIVIAL(info) << "An informational severity message"; BOOST_LOG_TRIVIAL(warning) << "A warning severity message"; BOOST_LOG_TRIVIAL(error) << "An error severity message"; BOOST_LOG_TRIVIAL(fatal) << "A fatal severity message"; return 0; } Yes, I copied this program from http://www.boost.org/doc/libs/1_63_0/libs/log/doc/html/log/tutorial.html. But I want to know how to do this so I can play around with it. -- Signed, Ethin D. Probst _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users