Use \Log::deprecated instead of \Log Warning