#ifndef _CHINPUT_LOGGING_H_
#  define _CHINPUT_LOGGING_H_

#  include <all.h>

// Define different groups
typedef enum
{
	LOG_GRP_XIM = 0,
	LOG_GRP_DOCK,
	LOG_GRP_IMM,
	LOG_GRP_ENC
} log_grp_t;

#define LOGGRP_MAX				4

// Public functions declare
void chinput_log_init (void);

void chinput_log_print (log_grp_t type, const char *fmt, ...);

void chinput_log_close (void);

#endif
