summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 18:56:29 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:52:17 +0100
commit320f988a5ee586235f785b15028c7ef777e981a0 (patch)
treee518cc231f1872091c3a808b93a1385957ec1214 /src/Patchage.cpp
parentdbe6899651ac929f59af160dd07aaf6bda079b23 (diff)
downloadpatchage-320f988a5ee586235f785b15028c7ef777e981a0.tar.gz
patchage-320f988a5ee586235f785b15028c7ef777e981a0.tar.bz2
patchage-320f988a5ee586235f785b15028c7ef777e981a0.zip
Use prettier names for log methods
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r--src/Patchage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 7fbc434..5d38444 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -332,7 +332,7 @@ Patchage::Patchage(int argc, char** argv)
_about_win->set_logo(Gdk::Pixbuf::create_from_file(
bundle_location() + "/Resources/Patchage.icns"));
} catch (const Glib::Exception& e) {
- _log.error_msg(fmt::format("failed to set logo ({})", e.what()));
+ _log.error(fmt::format("failed to set logo ({})", e.what()));
}
#endif
@@ -654,14 +654,14 @@ Patchage::show_open_session_dialog()
const std::string dir = dialog.get_filename();
if (g_chdir(dir.c_str())) {
- _log.error_msg("Failed to switch to session directory " + dir);
+ _log.error("Failed to switch to session directory " + dir);
return;
}
if (system("./jack-session") < 0) {
- _log.error_msg("Error executing `./jack-session' in " + dir);
+ _log.error("Error executing `./jack-session' in " + dir);
} else {
- _log.info_msg("Loaded session " + dir);
+ _log.info("Loaded session " + dir);
}
}
@@ -699,7 +699,7 @@ Patchage::save_session(bool close)
std::string path = dialog.get_filename();
if (g_mkdir_with_parents(path.c_str(), 0740)) {
- _log.error_msg("Failed to create session directory " + path);
+ _log.error("Failed to create session directory " + path);
return;
}