PooledCreditLine.sol#L910
PooledCreditLine.sol#L913
PooledCreditLine.sol#L917
A protocol fee is taken whenever the borrower decides to borrow more tokens. The state update includes this protocol fee, but the amount emitted in the BorrowedFromPooledCreditLine event does not.
In my opinion, since the protocol fee should be included in the emitted event.
