oclog.h 467 B

1234567891011121314151617181920
  1. /* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc.
  2. See the COPYRIGHT file for more information. */
  3. #ifndef OCLOG_H
  4. #define OCLOG_H
  5. #define LOGNOTE 0
  6. #define LOGWARN 1
  7. #define LOGERR 2
  8. #define LOGDBG 3
  9. extern void oc_loginit(void);
  10. extern void oc_setlogging(int tf);
  11. extern void oc_logopen(const char* file);
  12. extern void oc_logclose(void);
  13. extern void oc_log(int tag, const char* fmt, ...);
  14. extern void oc_logtext(int tag, const char* text);
  15. #endif /*OCLOG_H*/