If you look at the SafeLogging class you'll see what it does. Identity handles sensitive personal information which we don't want to got into log files. The safe logging sanitizes log messages.