skynet_log.h 382 B

1234567891011121314
  1. #ifndef skynet_log_h
  2. #define skynet_log_h
  3. #include "skynet_env.h"
  4. #include "skynet.h"
  5. #include <stdio.h>
  6. #include <stdint.h>
  7. FILE * skynet_log_open(struct skynet_context * ctx, uint32_t handle);
  8. void skynet_log_close(struct skynet_context * ctx, FILE *f, uint32_t handle);
  9. void skynet_log_output(FILE *f, uint32_t source, int type, int session, void * buffer, size_t sz);
  10. #endif