DiamondLightSource / DiamondLightSource/python-tristan

Add output log file for `cues`

Aperta
#97 0 commenti 0 reazioni 1 assegnatario Rivendicata da @keeble Vedi su GitHub
Lingua principale
Python
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently `cues` only prints out the results of the inspection on the terminal, Mark W mentioned it would be nice to have the possibility to save this information.
- Add a `-o` option to the parser.
- Save a copy of the printed out `cues` output in a log file.

In the first instance, it's probably just enough to open a file in a context message and write the printed out lines to it.
But, this might also be a good starting point to look into adding a bit of logging to the code (see #30 ).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.