blob: 25eda9cc4481df0e99c20787f5ed4a4aaef19674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
=head1 NAME
TPMLIB_SetDebugFD - Set the file descriptor to send the debug output to
TPMLIB_SetDebugLevel - Set the debugging level
TPMLIB_SetDebugPrefix - Set the prefix for each debugging line
=head1 LIBRARY
TPM library (libtpms, -ltpms)
=head1 SYNOPSIS
B<#include <libtpms/tpm_library.h>>
B<uint32_t TPMLIB_SetDebugFD(int fd);>
B<uint32_t TPMLIB_SetDebugLevel(unsigned int level);>
B<uint32_t TPMLIB_SetDebugPrefix(const char *prefix);>
=head1 DESCRIPTION
B<TPMLIB_SetDebugFD()> allows to set the file descriptor
to send the debug output to.
B<TPMLIB_SetDebugLevel()> allows to set the debug level.
Only debug levels greater than 1 will produce output. The indentation
level of a line will determine whether it is printed. Lines with
0 indentation will be printed at debug level 1, 1 space of indentation
at debug level 2 and so on.
B<TPMLIB_SetDebugPrefix()> allows to set a prefix that is
to be printed in front of every line of debugging output. The
prefix can be used for further indentation.
=cut
|