Last time, I introduced how to create a common Logger module. In this installment, I will introduce how to include the execution date in log filenames. Separating log files by date makes it easier to ...
前回は、Pythonのloggingモジュールの基本的な使い方についてご紹介しました。 今回は、Loggerオブジェクトを使った、より高度な設定方法について解説します。 Loggerオブジェクトとは? Pythonのloggingモジュールでは、logging.debug()やlogging.info()などのモジュール ...