This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/logging.hpp
2017-12-02 17:44:05 +03:00

31 lines
389 B
C++

/*
* logging.h
*
* Created on: Oct 3, 2016
* Author: nullifiedcat
*/
#ifndef LOGGING_HPP_
#define LOGGING_HPP_
#include <stdio.h>
typedef void(fn_Msg_t)(const char *msg, va_list);
#ifdef __cplusplus
namespace logging
{
#endif
extern FILE *handle;
void Initialize();
void Shutdown();
void Info(const char *fmt, ...);
#ifdef __cplusplus
}
#endif
#endif /* LOGGING_HPP_ */