From 2637f3c90ba4720d2725d5328f4a0f76e4f0b6e8 Mon Sep 17 00:00:00 2001 From: Felipe Delestro Matos <fima@pop-os.localdomain> Date: Thu, 25 May 2023 14:55:33 +0200 Subject: [PATCH] log import updated --- docs/notebooks/Logging.ipynb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/notebooks/Logging.ipynb b/docs/notebooks/Logging.ipynb index 62b42918..e88aa9aa 100644 --- a/docs/notebooks/Logging.ipynb +++ b/docs/notebooks/Logging.ipynb @@ -2,15 +2,14 @@ "cells": [ { "cell_type": "markdown", - "id": "24c15e5d", + "id": "ae2a75fe", "metadata": {}, "source": [ "# Logging system for qim3d\n", - "Using proper logging instead of print statements is a recommended practice in software development for a variety of reasons. \n", "\n", - "While print statements can be helpful for quick debugging, logging provides a more powerful and versatile approach. \n", + "Using proper logging instead of print statements is a recommended practice.\n", "\n", - "Logging allows for better control over output, with options to configure log levels, filter messages, and redirect output to different destinations. \n" + "While print statements can be helpful for quick debugging, logging provides a more powerful and versatile approach. Logging allows for better control over output, with options to configure log levels, filter messages, and redirect output to different destinations. \n" ] }, { @@ -26,13 +25,13 @@ "outputs": [], "source": [ "import qim3d\n", - "log = qim3d.log" + "from qim3d import log" ] }, { "cell_type": "code", "execution_count": 2, - "id": "8a2b7c0e", + "id": "94022824", "metadata": {}, "outputs": [ { @@ -88,7 +87,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "2824aa8a", + "id": "eb542404", "metadata": {}, "outputs": [ { @@ -169,7 +168,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "20857afc", + "id": "eaceb5b6", "metadata": {}, "outputs": [ { -- GitLab