Changed sprintf to vsprintf to handle arrays that are passed to it. This is to support the commit from the pull request: https://github.com/KnpLabs/snappy/pull/75 that handles multiple inputs.
Check if  $input is an array and if so flatten to string so sprintf works.
Changed the debug $input to $debug_input so as to not overwrite $input.
Updated with usage.
Merge pull request #46 from seangofus/master

Handle array of inputs in LoggableGenerator.php