Log Output Verbosity Control

Control the amount of info display by your matlab's packages and where do they go to.

您现在正在关注此提交

Fill free to control which information will be showed depending on how deep you need the information to be showed. Are you developing? Set output level to verbose and see everything that is happening inside your functions. Set information messages level to users, or don't show a message at all if you want best performance.

Do you want messages to be output to a log file? Just change the Output.place to the desired output path!

Check example.m to see how it works.

This class was inspired at the Athena's (a framework used at ATLAS CERN's detector) logger.

引用格式

Werner (2026). Log Output Verbosity Control (https://ww2.mathworks.cn/matlabcentral/fileexchange/42909-log-output-verbosity-control), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: verbosity

类别

Help CenterMATLAB Answers 中查找有关 Debugging and Improving Code 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0