diff options
author | <shinichiro.hamaji@gmail.com> | 2010-06-15 06:28:38 +0000 |
---|---|---|
committer | <shinichiro.hamaji@gmail.com> | 2010-06-15 06:28:38 +0000 |
commit | 858a11d4e3da108d4c64e13ea511a56e93433d8d (patch) | |
tree | 51ccd014fed06110666dc20b0f9550bc310e32d4 /src/glog/logging.h.in | |
parent | b52f3fe2e44b1889be867d37d6ee285b24a91736 (diff) | |
download | glog-858a11d4e3da108d4c64e13ea511a56e93433d8d.tar.gz glog-858a11d4e3da108d4c64e13ea511a56e93433d8d.tar.bz2 glog-858a11d4e3da108d4c64e13ea511a56e93433d8d.zip |
Add ShutdownGoogleLogging to close syslog.
This patch was contributed by DGunchev (thanks!)
http://code.google.com/p/google-glog/issues/detail?id=28
git-svn-id: https://google-glog.googlecode.com/svn/trunk@88 eb4d4688-79bd-11dd-afb4-1d65580434c0
Diffstat (limited to 'src/glog/logging.h.in')
-rw-r--r-- | src/glog/logging.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index 16ba694..ff23f2e 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -482,6 +482,9 @@ DECLARE_bool(stop_logging_if_full_disk); // specified by argv0 in log outputs. GOOGLE_GLOG_DLL_DECL void InitGoogleLogging(const char* argv0); +// Shutdown google's logging library. +GOOGLE_GLOG_DLL_DECL void ShutdownGoogleLogging(); + // Install a function which will be called after LOG(FATAL). GOOGLE_GLOG_DLL_DECL void InstallFailureFunction(void (*fail_func)()); |