TDLib
Toggle main menu visibility
Loading...
Searching...
No Matches
td
telegram
td_log.h
Go to the documentation of this file.
1
//
2
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2026
3
//
4
// Distributed under the Boost Software License, Version 1.0. (See accompanying
5
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
//
7
#pragma once
8
16
17
#include "td/telegram/tdjson_export.h"
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
33
TDJSON_DEPRECATED_EXPORT
int
td_set_log_file_path
(
const
char
*file_path);
34
43
TDJSON_DEPRECATED_EXPORT
void
td_set_log_max_file_size
(
long
long
max_file_size);
44
59
TDJSON_DEPRECATED_EXPORT
void
td_set_log_verbosity_level
(
int
new_verbosity_level);
60
66
typedef
void (*
td_log_fatal_error_callback_ptr
)(
const
char
*error_message);
67
78
TDJSON_DEPRECATED_EXPORT
void
td_set_log_fatal_error_callback
(
td_log_fatal_error_callback_ptr
callback);
79
80
#ifdef __cplusplus
81
}
// extern "C"
82
#endif
td_log_fatal_error_callback_ptr
void(* td_log_fatal_error_callback_ptr)(const char *error_message)
Definition
td_log.h:66
td_set_log_max_file_size
TDJSON_DEPRECATED_EXPORT void td_set_log_max_file_size(long long max_file_size)
td_set_log_fatal_error_callback
TDJSON_DEPRECATED_EXPORT void td_set_log_fatal_error_callback(td_log_fatal_error_callback_ptr callback)
td_set_log_verbosity_level
TDJSON_DEPRECATED_EXPORT void td_set_log_verbosity_level(int new_verbosity_level)
td_set_log_file_path
TDJSON_DEPRECATED_EXPORT int td_set_log_file_path(const char *file_path)
Generated by
1.17.0