OSDN Git Service

Revert "linux: Make logwrapper show log tag on Linux"
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 23 Feb 2016 04:59:42 +0000 (04:59 +0000)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 23 Feb 2016 04:59:42 +0000 (04:59 +0000)
This reverts commit e4ae5c7522e6a77e1e0492afa3deed9fdc1569e8.

Change-Id: I8e0c890ee0960f986133939944c2c1362ac4f57c

osi/include/log.h

index 303f232..738462e 100644 (file)
@@ -27,7 +27,7 @@
 /* syslog didn't work well here since we would be redefining LOG_DEBUG. */
 #include <stdio.h>
 
-#define LOGWRAPPER(tag, fmt, args...) fprintf(stderr, "%s %s: " fmt "\n", tag, __func__, ## args)
+#define LOGWRAPPER(tag, fmt, args...) fprintf(stderr, "%s: " fmt "\n", tag, ## args)
 
 #define LOG_VERBOSE(...) LOGWRAPPER(__VA_ARGS__)
 #define LOG_DEBUG(...) LOGWRAPPER(__VA_ARGS__)