imb / fctx

C unit testing in a header (works for C++ too!).
Other
36 stars 15 forks source link

ability to hook in different loggers #12

Closed imb closed 14 years ago

imb commented 14 years ago

With the start of issue #10, it would be nice set up the ability to hook in different loggers. The first pass should look to be able to hook in "built-in" loggers, but the second pass should be too difficult for folks to extend fctx and register their own loggers.

imb commented 14 years ago

logger branch has the start of this already.

imb commented 14 years ago

code is now part of the "master" branch.

imb commented 14 years ago

The code in the "master" branch hasn't been fully fleshed out. The new "topic/custom_logger" will be tracking this bug to completion.

The plan is to,

  1. Provide a generic logger interface so we can easily publish the API without breaking backwards compatibility.
    1. Provide a means to "install" your own custom logger (via the "header extension method").
    2. Document the new "custom logger" interface.