ipython / ipython/traitlets

docs: document `log` trait on `Application` class

Offen
#755 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
653
Forks
217
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
2

Beschreibung

The docs for the [Application](https://traitlets.readthedocs.io/en/latest/config-api.html#traitlets.config.Application) class don't mention the default value of the `log` trait on `Application` to be a `Logger` instance named with `self.__class__.__name__`. I had to dig through the code to find [the line where this default is set](https://github.com/ipython/traitlets/blob/main/traitlets/config/application.py#L286). Can we update the documentation here accordingly?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.