basic php logger