DaemonKit logger does not accept blocks #8

Closed
mperham opened this Issue Jan 4, 2010 · 1 comment

Projects

None yet

2 participants

@mperham
mperham commented Jan 4, 2010

Ruby's standard Logger class allows you to use blocks for logging messages that may take a non-trivial amount of CPU time to generate:

logger.debug { "This message contains a lot of diagnostic info" }

DK's AbstractLogger just assumes a single string parameter. It should also accept a block.

@kennethkalmer
Owner

AbstractLogger now accepts blocks (closed by 2d31e94)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment