aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/env_universal_common.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-03 20:23:43 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-03 20:23:43 -0700
commit411d573ba986af636e01dc07796954385b8ba4c7 (patch)
tree505cd77807f5d5eb655c03e52a79321fa851c017 /src/env_universal_common.h
parent9dd6873e5855f69b01f2e3705a49a4231c992e71 (diff)
convert atypical env_universal_common logging
This is a quick and dirty conversion of the atypical, and undocumented, logging done by env_universal_common.cpp to the usual `debug()` pattern. I didn't want to drop the messages because they could be useful when debugging future issues. So I simply converted them to the lowest debug level using the normal debug() function. Fixes #2887
Diffstat (limited to 'src/env_universal_common.h')
-rw-r--r--src/env_universal_common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/env_universal_common.h b/src/env_universal_common.h
index 60cf0027..edc36016 100644
--- a/src/env_universal_common.h
+++ b/src/env_universal_common.h
@@ -167,13 +167,7 @@ public:
virtual bool notification_fd_became_readable(int fd);
};
-bool universal_log_enabled();
-#define UNIVERSAL_LOG(x) do { if (universal_log_enabled()) fprintf(stderr, "UNIVERSAL LOG: %s\n", x); } while (0)
-
/* Environment variable for requesting a particular universal notifier. See fetch_default_strategy_from_environment for names. */
#define UNIVERSAL_NOTIFIER_ENV_NAME "fish_universal_notifier"
-/* Environment variable for enabling universal variable logging (to stderr) */
-#define UNIVERSAL_LOGGING_ENV_NAME "fish_universal_log"
-
#endif