Package main is a runnable AWS Lambda example. Handler wraps a function with one wlog
event per invocation and flushes the drains before it returns. A Lambda freezes
between invocations, so an unflushed batch is lost.
Command lambda runs the example handler on AWS Lambda.