Quantcast

Encapsulate and enhance the logging facility within Ovale.lua.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-07-18 19:34:52
Author local date 2014-07-18 15:34:52 -0400
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-07-18 20:29:48
Committer local date 2014-07-18 16:29:48 -0400
Commit 4572dfe4a2fd41f3c631ba14ff6945308136ba61
Tree c74aa38108b5b17f52596d0fe042ea584faf8334
Parent 9809ad846c7e2b6a731f7c532600ec7b2b530492
Encapsulate and enhance the logging facility within Ovale.lua.

Cap the number of lines held by the log to a maximum of 4096 (2^14) lines
to prevent table overflows causing memory allocation errors.  This fixes
the following tickets:

    ticket 392 by @ggrider
    ticket 396 by @sparrowlab