Log to an external logger (fixes #1810)
authorItay Brandes <Brandes.Itay@gmail.com>
Sat, 23 Nov 2013 08:22:18 +0000 (10:22 +0200)
committerItay Brandes <Brandes.Itay@gmail.com>
Sat, 23 Nov 2013 08:22:18 +0000 (10:22 +0200)
commit43afe2858870d140b2a133fda2a0cbbd642a3bfc
tree0ea0660be3ce6b497b5697d1e17d1ec56323df23
parenta87b0615aa311083923e607c3d1a5cdceab818f7
Log to an external logger (fixes #1810)

Sadly applications using youtube-dl's python sources can't directly
access it's log stream. It's pretty much limited to stdout and stderr
only.

It should log to logging.Logger instance passed to YoutubeDL's params
dictionary.
youtube_dl/YoutubeDL.py