Merge branch 'env-wxlog-time-format'

Add support for WXLOG_TIME_FORMAT and docs improvements.

See #23576.
This commit is contained in:
Vadim Zeitlin 2023-06-02 19:07:55 +02:00
commit 3d13e77b01
3 changed files with 38 additions and 10 deletions

View file

@ -13,11 +13,19 @@ This section describes all environment variables that affect execution of
wxWidgets programs.
@beginDefList
@itemdef{WXLOG_TIME_FORMAT,
If set, the contents of this variable is set as the initial timestamp
used for logging, i.e. passed to wxLog::SetTimestamp(), on program
startup. For example, this can be used to enable milliseconds in the
timestamps by setting `WXLOG_TIME_FORMAT=%H:%M:%S.%l` or it could also
be used to use ISO 8601 timestamp format instead of the default
locale-dependent format. This variable is only used since wxWidgets
3.3.0.}
@itemdef{WXTRACE,
(Debug build only.)
This variable can be set to a comma-separated list of trace masks used in
wxLogTrace calls; wxLog::AddTraceMask is called for every mask
in the list during wxWidgets initialization.}
in the list during wxWidgets initialization. It only has an effect if
debug logging is enabled, see wxLogTrace().}
@itemdef{WXPREFIX,
(Unix only.)
Overrides installation prefix. Normally, the prefix
@ -39,4 +47,4 @@ wxWidgets programs.
be safely ignored if the code works as expected.}
*/
@see wxSystemOptions
@see wxSystemOptions