Changeset f235ad41b286a70c1f8e40c8e56eebc9b051508a for src/utils
- Timestamp:
- 01/16/08 04:57:05 (5 years ago)
- git-parent:
- Files:
-
- src/utils/noit_log.c (modified) (2 diffs)
- src/utils/noit_log.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/utils/noit_log.c
rf41090d rf235ad4 14 14 static noit_hash_table noit_loggers = NOIT_HASH_EMPTY; 15 15 noit_log_stream_t noit_stderr = NULL; 16 noit_log_stream_t noit_error = NULL; 17 noit_log_stream_t noit_debug = NULL; 16 18 17 19 void … … 19 21 noit_hash_init(&noit_loggers); 20 22 noit_stderr = noit_log_stream_new_on_fd("stderr", 2); 23 noit_error = noit_log_stream_new("error"); 24 noit_debug = noit_log_stream_new("debug"); 21 25 } 22 26 src/utils/noit_log.h
rf41090d rf235ad4 24 24 25 25 extern noit_log_stream_t noit_stderr; 26 extern noit_log_stream_t noit_debug; 27 extern noit_log_stream_t noit_error; 26 28 27 29 API_EXPORT(void) noit_log_init();
