Create andylogger.lua

Import of http://pastebin.com/HanjL7Mz AndyLogger