code: def _log_rescale(baseline, mode="mean"):
      """Log the rescaling method."""
      if baseline is not None:
          _check_option(
              "mode",
              mode,
              [
                  "logratio",
                  "ratio",
                  "zscore",
                  "mean",
                  "percent",
                  "zlogratio",
              ],
          )
          msg = "Applying baseline correction (mode: %s)" % mode
      else:
          msg = "No baseline correction applied"
      return msg
  
imports: import numpy
  from .utils import _check_option, _validate_type, logger, verbose
label_desc: Use image node_id 1 for calling a global function with example usage: _log_rescale(baseline, mode) and returns: msg