Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit bdea945c authored by Loic Huder's avatar Loic Huder
Browse files

Fixed logging example in pres06

parent 6b8b17a6
......@@ -736,8 +736,7 @@
"log_level = logging.INFO # to get information messages\n",
"# log_level = logging.WARNING # no information messages\n",
"logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',\n",
" level=logging.INFO)\n",
" level=log_level)\n",
" level=log_level)\n",
"\n",
"thing = 'beer'\n",
"logging.info('Would you like to have a \"%s\"?', thing)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment