Also supports remote (server) logging, for net functions executed within the current code scope (causes net packets to be flushed both upon entering the current scope, and when exiting it - required for correct log timing).