That is, if I understood your intention correctly, of course.
DATE and TIME in this case are system environment variables. They are evaluated to the current system date and time respectively. You can omit them, of course. I just thought they wouldn't harm if used with logging.
发布评论
评论(1)
发布你的脚本大纲会很有帮助。
假设脚本看起来像这样:
你可以这样修改它:
也就是说,当然,如果我正确理解你的意图。
在本例中,
DATE
和TIME
是系统环境变量。它们分别评估为当前系统日期和时间。当然,您可以省略它们。我只是认为如果与日志记录一起使用它们不会造成伤害。Posting an outline of your script would be helpful.
Assuming the script looks something like this:
you could modify it like this:
That is, if I understood your intention correctly, of course.
DATE
andTIME
in this case are system environment variables. They are evaluated to the current system date and time respectively. You can omit them, of course. I just thought they wouldn't harm if used with logging.