Python Logging: Customizing with Classes and Functions — LearnFlat
⏱ 2 ч 36 мин 📚 26 уроков

Python Logging: Customizing with Classes and Functions

Master Python's built-in logging module to build robust, maintainable, and structured logs for your applications using loggers, handlers, and formatters.

  • 💬 ИИ инструктор
    Задавайте вопросы по любому уроку — понятный ответ придёт мгновенно, в любой момент.
  • 🕐 Начните в любое время
    Без расписаний и дедлайнов — учитесь в своём темпе, когда удобно.
  • 🌐 На русском языке
    Уроки, задания и сертификат — всё полностью на вашем языке.

О курсе

Are you still relying on print statements or the default root logger to debug and monitor your Python applications? As your projects grow, you need a structured, reliable way to track application behavior, diagnose errors, and maintain clean logs without cluttering your console. This text-based course guides you through the transition from basic logging to professional-grade configurations. You will learn how to leverage Python's built-in logging module to create modular, customizable, and maintainable logging systems. By understanding the core classes and functions, you will be able to direct specific log messages to different destinations, format them for readability, and manage log levels across multiple modules. What you'll learn: - Understand the core architecture of Python's logging framework, including loggers, handlers, formatters, and filters. - Configure custom loggers using the getLogger function to avoid namespace collisions. - Implement multiple handlers to send log messages to both the console and external files simultaneously. - Design clean, readable log formats with custom timestamps, log levels, and contextual metadata. - Apply modern configuration techniques using dictionary-based configurations (dictConfig) for cleaner codebases. - Practice troubleshooting and debugging applications by isolating log levels for development and production environments. We begin by establishing foundational logging concepts and vocabulary, ensuring you understand how messages flow through Python's logging pipeline. Next, we dive into practical implementation, exploring how to instantiate and configure individual classes to meet specific application requirements. This course is designed for beginner to intermediate Python developers who want to move beyond basic scripting and write production-ready code. No prior logging experience is required, though a basic understanding of Python syntax and object-oriented programming concepts is helpful. Start reading today to build cleaner, more maintainable Python applications with professional logging systems.

Что вы получите

  • 📜 Сертификат об окончании
    Добавьте в профиль LinkedIn
  • 💬 Личный AI-наставник
    Застрял на уроке? Спроси встроенного наставника о чём угодно, в любой момент.
  • ♾️ Пожизненный доступ
    Возвращайтесь в любое время, без срока
  • 📱 Телефон или компьютер
    Работает везде и на любом устройстве
  • 💸 Возврат в течение 14 дней
    Без вопросов
  • ⚡ Кратко и по делу
    2 ч 36 мин практического материала

Отзывы

Отзывов пока нет — поделитесь своим первым.

Написать отзыв

☆☆☆☆☆
После отправки попросим войти — черновик сохранится.

Часто спрашивают

Что нужно для прохождения курса? +

Только смартфон или компьютер с доступом в интернет. Никаких установок и оборудования.

Как оплатить? +

Банковской картой через Stripe. Данные карты обрабатывает Stripe — мы их не храним.

Можно ли вернуть деньги? +

Да — полный возврат в течение 14 дней, без вопросов.

Как долго будут доступны материалы? +

Навсегда. После покупки курс остаётся с вами — возвращайтесь в любое время.

Получу ли я сертификат? +

Да. По окончании выдаётся сертификат, который можно добавить в профиль LinkedIn.

Подходит для специалистов в
IT Дизайн Финансы Маркетинг Медицина Образование HoReCa Производство