Change UID for watchdog message
Logger will always log for the current user, except you provide your own logging service.

The context is used to replace placeholders in the message, see here, so to get the userid in the message, use this:

\Drupal::logger("proreos")-&gt;info("bla @uid", array('@uid' =&gt; 5));