     args = _.rest (_.rest (_.rest arguments))
     return func.apply thisArg, args unless Observatory.settings.profiling.isOn
 
-    sargs = JSON.stringify args
     orig_callback = args.pop()
 
     # redefining callback for recording execution times

      loglevel = Observatory.LOGLEVEL.WARNING
    loglevel

  # TODO: write tests for profiling functions
  # profile sync function execution
  # * options: additional options to put into profiling log message
  # * - message: message to log with
  # * - method: method name that we are profiling
  # * - buffer: whether to buffer log output (needed in Meteor mostly)
  # * func: function to profile followed by its' arguments, however many
  profile: (options, thisArg, func)=>
    # first checking if profiling is off and then simply passing the call - minimal overhead!

    # only logging if thresholds are ok, otherwise simply returning
    return ret if loglevel > Observatory.settings.profiling.maxProfilingLevel

    @_forceEmitWithSeverity loglevel, @_prepareMessage t2, options, args
    #console.log object
    ret

