// StreamUtils - github.com/bblanchon/ArduinoStreamUtils // Copyright Benoit Blanchon 2019-2021 // MIT License #pragma once #include "../Policies/WriteSpyingPolicy.hpp" #include "PrintProxy.hpp" namespace StreamUtils { struct SpyingPrint : PrintProxy { SpyingPrint(Print &target, Print &log) : PrintProxy(target, WriteSpyingPolicy{log}) {} }; } // namespace StreamUtils