ipython / ipython/traitlets

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

Aperta
#755 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
653
Fork
217
Merge medio
2g 21h
PR unite (30g)
2

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.