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

@@ -53,7 +53,6 @@ gboolean mm_log_setup (const char *level,
const char *log_file,
gboolean show_ts,
gboolean rel_ts,
gboolean debug_func_loc,
GError **error);
void mm_log_shutdown (void);