adding singleton logging examples.