前回は、Pythonのloggingモジュールの基本的な使い方についてご紹介しました。 今回は、Loggerオブジェクトを使った、より高度な設定方法について解説します。 Loggerオブジェクトとは? Pythonのloggingモジュールでは、logging.debug()やlogging.info()などのモジュール ...
There is little worse as a developer than trying to figure out why an application is not working if you don’t know what is going on inside it. Sometimes you can’t even tell whether the system is ...
Pythonでプログラムを開発していると、変数の値や処理の進行状況を確認したくなる場面が多々あります。 そんな時、手軽な print() 関数を使ってコンソールに表示させていませんか? 開発中はそれでも問題ありませんが、本格的なアプリケーション開発や ...