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
66       --write-coverage
67       --write-coverage=coverage.json
68       --no-write-coverage
69           Create a json file of all coverage data seen during the run (This
70           implies --cover-files).
71

SOURCE

73       The source code repository for Test2-Harness can be found at
74       http://github.com/Test-More/Test2-Harness/.
75

MAINTAINERS

77       Chad Granum <exodist@cpan.org>
78

AUTHORS

80       Chad Granum <exodist@cpan.org>
81
83       Copyright 2020 Chad Granum <exodist7@gmail.com>.
84
85       This program is free software; you can redistribute it and/or modify it
86       under the same terms as Perl itself.
87
88       See http://dev.perl.org/licenses/
89
90
91
92perl v5.32.1                      2021-03-12    App::Yath::Options::Logging(3)
Impressum