per page, with , order by , clip by
Results of 1 - 4 of about 4 for getLogger (0.002 sec.)
ロギングの設定と利用 — Django 6.1 ドキュメント 11095
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ロギングの設定と利用 ¶ 参考 Django のロギング リファレンス Django のロギングの概要 Django はそのままで動作する デフォルトのロギング設定 を持っており ... うにビュー関数を使用してください。 First, import the Python logging library, and then obtain a logger instance with logging.getLogger() . Provide the getLogger() method with a name to identify it and the records it emits. A good option is to use __name__ ( ... more on this) which will provide the name of the current Python module as a dotted path: import logging logger = logging . getLogger ( __name__ ) この宣言はモジュール・レベルで行うのがよいとされています。 そして、ビューなどの関数内で、logger にレコードを送 ... 。名前付きロギング設定は、一致する名前のロガーからだけログを取得します。 The namespace of a logger instance is defined using getLogger() . For example in views.py of my_app : logger = logging . getLogger ( __name__ ) これは my_app.views 名前空間にロガーを作 ...
https://man.mtool.work/django/6.1/howto/logging.html
ロギングの設定と利用 — Django 6.1 ドキュメント 11095
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ロギングの設定と利用 ¶ 参考 Django のロギング リファレンス Django のロギングの概要 Django はそのままで動作する デフォルトのロギング設定 を持っており ... うにビュー関数を使用してください。 First, import the Python logging library, and then obtain a logger instance with logging.getLogger() . Provide the getLogger() method with a name to identify it and the records it emits. A good option is to use __name__ ( ... more on this) which will provide the name of the current Python module as a dotted path: import logging logger = logging . getLogger ( __name__ ) この宣言はモジュール・レベルで行うのがよいとされています。 そして、ビューなどの関数内で、logger にレコードを送 ... 。名前付きロギング設定は、一致する名前のロガーからだけログを取得します。 The namespace of a logger instance is defined using getLogger() . For example in views.py of my_app : logger = logging . getLogger ( __name__ ) これは my_app.views 名前空間にロガーを作 ...
https://man.mtool.work/django/6.1/howto/logging.html
Django's Tasks framework — Django 6.1 ドキュメント 7397
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... t when defining it: import logging from django.core.mail import send_mail from django.tasks import task logger = logging . getLogger ( __name__ ) @task ( takes_context = True ) def email_users ( context , emails , subject , message ): logger . debug ( f " ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django's Tasks framework — Django 6.1 ドキュメント 7397
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... t when defining it: import logging from django.core.mail import send_mail from django.tasks import task logger = logging . getLogger ( __name__ ) @task ( takes_context = True ) def email_users ( context , emails , subject , message ): logger . debug ( f " ...
https://man.mtool.work/django/6.1/topics/tasks.html
PREV 1 NEXT