Better Logger Implementation