src/base/log.tpp
inline void logTo(file& f, string_view msg) try {
	print(f, msg);
} catch (system_error const& e) {
	print(cerr, R"(Failed to write to logfile "{}": {}\n)", f.where(), e.what());
}
// Write a preformatted log message to a specified output. Does not insert
// a newline.
Write a preformatted log message to a specified output. Does not insert
a newline.
Write a preformatted log message to a specified output . Does not insert a newline .
inline void logTo(file& f, string_view msg) try {
	print(f, msg);
} catch (system_error const& e) {
	print(cerr, R"(Failed to write to logfile "{}": {}\n)", f.where(), e.what());
}
inline void logTo ( file & f , string_view msg ) try { print ( f , msg ) ; } catch ( system_error const & e ) { print ( cerr , R" ( Failed to write to logfile "{}": {}\n ) " , f . where ( ) , e . what ( ) ) ; }
Write a preformatted log message to a specified output.
Write a preformatted log message to a specified output .