holoscan::set_log_pattern
holoscan::set_log_pattern
holoscan::set_log_pattern
Set global log format string.
If the environment variable HOLOSCAN_LOG_FORMAT is set, the log pattern will be overridden by the value of the environment variable.
If the user has not set the log pattern explicitly before Application::Application() is called and no environment variable (HOLOSCAN_LOG_FORMAT) is set, the default log pattern will be used.
HOLOSCAN_LOG_FORMAT can be set to one of the following values:
Or, a custom format string can be specified. Please refer to the spdlog documentation for the format string syntax.
Parameters
The format string.