1App::Yath::Options::LogUgsienrg(C3o)ntributed Perl DocumAepnpt:a:tYiaotnh::Options::Logging(3)
2
3
4

NAME

6       App::Yath::Options::Logging - Logging options for yath
7

DESCRIPTION

9       This is where the command line options for logging are defined.
10

PROVIDED OPTIONS

12   COMMAND OPTIONS
13       Logging Options
14
15       --bzip2
16       --bz2
17       --bzip2_log
18       -B
19       --no-bzip2
20           Use bzip2 compression when writing the log. This option implies -L.
21           The .bz2 prefix is added to log file name for you
22
23       --gzip
24       --gz
25       --gzip_log
26       -G
27       --no-gzip
28           Use gzip compression when writing the log. This option implies -L.
29           The .gz prefix is added to log file name for you
30
31       --log
32       -L
33       --no-log
34           Turn on logging
35
36       --log-dir ARG
37       --log-dir=ARG
38       --no-log-dir
39           Specify a log directory. Will fall back to the system temp dir.
40
41       --log-file ARG
42       --log-file=ARG
43       -F ARG
44       -F=ARG
45       --no-log-file
46           Specify the name of the log file. This option implies -L.
47
48       --log-file-format ARG
49       --log-file-format=ARG
50       --lff ARG
51       --lff=ARG
52       --no-log-file-format
53           Specify the format for automatically-generated log files.
54           Overridden by --log-file, if given. This option implies -L
55           (Default: \$YATH_LOG_FILE_FORMAT, if that is set, or else
56           "%!P%Y-%m-%d~%H:%M:%S~%!U~%!p.jsonl"). This is a string in which
57           percent-escape sequences will be replaced as per POSIX::strftime.
58           The following special escape sequences are also replaced: (%!P :
59           Project name followed by a ~, if a project is defined, otherwise
60           empty string) (%!U : the unique test run ID) (%!p : the process ID)
61           (%!S : the number of seconds since local midnight UTC)
62
63           Can also be set with the following environment variables:
64           "YATH_LOG_FILE_FORMAT", "TEST2_HARNESS_LOG_FORMAT"
65

SOURCE

67       The source code repository for Test2-Harness can be found at
68       http://github.com/Test-More/Test2-Harness/.
69

MAINTAINERS

71       Chad Granum <exodist@cpan.org>
72

AUTHORS

74       Chad Granum <exodist@cpan.org>
75
77       Copyright 2020 Chad Granum <exodist7@gmail.com>.
78
79       This program is free software; you can redistribute it and/or modify it
80       under the same terms as Perl itself.
81
82       See http://dev.perl.org/licenses/
83
84
85
86perl v5.36.0                      2022-09-08    App::Yath::Options::Logging(3)
Impressum