log: remove func loc info unless MM_LOG_FUNC_LOC is defined

The user can build the project passing custom CFLAGS to enable the
function location information, e.g.:

    $ ./configure --prefix=/usr CFLAGS="-DMM_LOG_FUNC_LOC"
This commit is contained in:
Aleksander Morgado
2017-05-29 13:42:23 +02:00
parent 3bb0f7e66d
commit 57f193bd04
3 changed files with 3 additions and 8 deletions

View File

@@ -143,7 +143,6 @@ main (int argc, char *argv[])
mm_context_get_log_file (),
mm_context_get_log_timestamps (),
mm_context_get_log_relative_timestamps (),
mm_context_get_debug (),
&err)) {
g_warning ("Failed to set up logging: %s", err->message);
g_error_free (err);