We propose an all-optical logic device made of a bent waveguide with a Kerr-like nonlinear interface. It could provide an OR gate, exclusive-OR (XOR) gate and AND gate. We could obtain different transmission results by modifying the bending angle. The numerical simulation results show that the device functions as OR, XOR and AND gates.