Log.process to make logging more flexible