Class for php logging