log: only include LOC and method name in debug logs if running with --debug

If the modem is started with --log-level=DEBUG, they will not be shown.
This commit is contained in:
Aleksander Morgado
2012-03-08 23:32:30 +01:00
parent cdd339f802
commit 181f9c85f0
3 changed files with 7 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ 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_usr1 (void);
@@ -60,4 +61,3 @@ void mm_log_usr1 (void);
void mm_log_shutdown (void);
#endif /* MM_LOG_H */