Thanks, I was reading about logging to make something like this.


On Sat, Apr 26, 2014 at 11:25 AM, Eric89GXL <notifications@github.com>wrote:

> In vispy/util/event.py:
>
> > @@ -479,6 +482,37 @@ def blocker(self):
> >          return EventBlocker(self)
> >
> >
> > +class WarningEmitter(EventEmitter):
>
> It just occurred to me that you don't have to log to a file. We already
> have a way to capture the logging output, see use_log_level e.g.:
>
>
> https://github.com/vispy/vispy/blob/master/vispy/util/tests/test_logging.py#L30
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/vispy/vispy/pull/233/files#r12024853>
> .
>