summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d6312e)
raw | patch | inline | side by side (parent: 0d6312e)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 28 Jun 2014 07:36:31 +0000 (09:36 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 28 Jun 2014 07:36:31 +0000 (09:36 +0200) |
… instead of using a multi-line log entry (which is ugly).
src/core/plugin.c | patch | blob | history |
diff --git a/src/core/plugin.c b/src/core/plugin.c
index 0e87ce5a9f51f5a719031e36b0dc83460729bb83..36f80f6e6c29296322fac9979632a0e32ea05f29 100644 (file)
--- a/src/core/plugin.c
+++ b/src/core/plugin.c
sdb_llist_append(all_plugins, SDB_OBJ(ctx));
sdb_log(SDB_LOG_INFO, "core: Successfully loaded "
- "plugin '%s' v%i (%s)\n\t%s\n\tLicense: %s",
- ctx->info.plugin_name, ctx->info.plugin_version,
- INFO_GET(&ctx->info, description),
+ "plugin %s v%i (%s)", ctx->info.plugin_name,
+ ctx->info.plugin_version,
+ INFO_GET(&ctx->info, description));
+ sdb_log(SDB_LOG_INFO, "core: Plugin %s: %s, License: %s",
+ ctx->info.plugin_name,
INFO_GET(&ctx->info, copyright),
INFO_GET(&ctx->info, license));