On this page
  1. logging.info
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

logging.info

Prev: logging.Handler | Up: logging | Next: logging.log
Rel: logging.addLevelName, logging.basicConfig, logging.BufferingFormatter, logging.captureWarnings
Ref: docs.python.org — logging.info
Tags: #public #python3 #stdlib #logging


Import

import logging
from logging import info

Signature & Overview

logging.info(msg, *args, **kwargs)

Log a message with severity 'INFO' on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.

Usage

import logging

assert logging.INFO == 20 and callable(logging.info)

Gotchas

REPL Inspect

from logging import info
help(info)

Linked from

Related notes