setLoggingMode

Parameters
  mode - true or false depending if you want to log or not
Purpose
  Obvious.