UI Framework: Logging - hardcoded file name

Issue #42 new
Moises Henriquez created an issue

Using the UI framework for any application results in some logging being done, which is fine.

We have an annoyance where the logfile is hardcoded to 'installer.log'

See https://bitbucket.org/VLCore/vinstall/src/282c4fc2306cfae0983743fc8113368c39f6f2d1/vinstall/core/log.py?at=master&fileviewer=file-view-default#log.py-20

I suggest making this more flexible, or maybe move this around so we can use a decorated function

@core.logger
def myLoggingMethod():

or something like that. It would need to allow for output file name and logging level to be specified.

Comments (0)

  1. Log in to comment