Helper function that creates the oscar output with the format selected by create_oscar_output.
903 return std::make_unique<OscarOutput<ASCII, Contents>>(path, name,
906 if (modern_format && extended_format) {
907 return std::make_unique<OscarOutput<OscarFormat2013Extended, Contents>>(
909 }
else if (modern_format && !extended_format) {
910 return std::make_unique<OscarOutput<OscarFormat2013, Contents>>(path,
912 }
else if (!modern_format && !extended_format) {
913 return std::make_unique<OscarOutput<OscarFormat1999, Contents>>(path,
917 logg[
LOutput].warn() <<
"There is no extended Oscar1999 format, creating "
918 "a regular Oscar1999 output instead.";
919 return std::make_unique<OscarOutput<OscarFormat1999, Contents>>(path,
std::array< einhard::Logger<>, std::tuple_size< LogArea::AreaTuple >::value > & logg
An array that stores all pre-configured Logger objects.
static constexpr int LOutput