25 #include "goby/common/logger.h" 29 int main(
int argc,
char* argv[])
34 std::string sys_cmd(
"LD_LIBRARY_PATH=" GOBY_LIB_DIR
35 ":$LD_LIBRARY_PATH GOBY_HDF5_PLUGIN=libgoby_hdf5test.so goby_hdf5 " 36 "--output_file /tmp/test.h5 --include_string_fields=true");
37 std::cout <<
"Running: [" << sys_cmd <<
"]" << std::endl;
38 int rc = system(sys_cmd.c_str());
42 std::cout <<
"All tests passed." << std::endl;
void set_name(const std::string &s)
Set the name of the application that the logger is serving.
common::FlexOstream glog
Access the Goby logger through this object.
void add_stream(logger::Verbosity verbosity=logger::VERBOSE, std::ostream *os=0)
Attach a stream object (e.g. std::cout, std::ofstream, ...) to the logger with desired verbosity...