SDLx::GUI::Debug - Centralized debug utility
To facilitate debugging, this module provides a single function to log traces. However, the
debug() function will not output anything unless the environment variable
SDLX_GUI_DEBUG is set to a true value. If it isn't set or set to a false value, then the function will be optimized out.
debug( @stuff );
STDERR, with a timestamp and the caller sub.
Jerome Quelin <email@example.com>
This software is copyright (c) 2013 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.