<commit_before>#ifndef LOG_H
#define LOG_H

#define F_LOG 			"/log_api" /* file bot log */	
#define D_LOG_CHAT 		"/chat/" /* dir chat log */
#define PREFIX_LOG 		"/log_" /* prefix log chat */


#define START_API 		"----- Start API -----"
#define GETME_LOG 		"token Authentication: ok id_bot=%ld username=%s"
#define GETME_ELOG		"Failed to authenticate"

enum Etype {t_image, t_document, t_voice, t_audio, t_video, t_contact} type;

#ifdef __linux__
char *get_file(long int user_log, enum Etype type, char *file_name);
int access_log(const char *path);
char *insert_file(long int user_log, enum Etype type, char *current);
bool cp_file(long int user_log, enum Etype type, char *current);
bool text_log(long int user_log, char *extra, long int date, char *text);
void log_init();
#elif _WIN32

#endif

#endif<commit_msg>to put const function text_log<commit_after>#ifndef LOG_H
#define LOG_H

#define F_LOG 			"/log_api" /* file bot log */	
#define D_LOG_CHAT 		"/chat/" /* dir chat log */
#define PREFIX_LOG 		"/log_" /* prefix log chat */


#define START_API 		"----- Start API -----"
#define GETME_LOG 		"token Authentication: ok id_bot=%ld username=%s"
#define GETME_ELOG		"Failed to authenticate"

enum Etype {t_image, t_document, t_voice, t_audio, t_video, t_contact} type;

#ifdef __linux__
char *get_file(long int user_log, enum Etype type, char *file_name);
int access_log(const char *path);
char *insert_file(long int user_log, enum Etype type, char *current);
bool cp_file(long int user_log, enum Etype type, char *current);
bool text_log(long int user_log, char *extra, long int date, const char *text);
void log_init();
#elif _WIN32

#endif

#endif
{'fraction_non_alphanumeric': 0.12176009644364075, 'fraction_numerical': 0.0024110910186859553, 'mean_word_length': 4.64625850340136, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3338602', 'n_tokens_mistral': 620, 'n_tokens_neox': 591, 'n_words': 198}