client code changed: 0 lines
client · adapter slot · third-party library
Client — your app
App code
logger.log("User signed up")
"User signed up"
Slot
empty
Library — can't change
XmlLoggerLib
writeXml(xml)
<log>User signed up</log>
Round socket, square plug. Try ▶ Plug in directly.
Round = log(msg) the client expects · square = writeXml(xml) the library speaks.