can i measure output currant on an output pin

You usually don't measure if an output pin sources or sinks more than 40mA.
Just make sure it never gets to 40mA.
Use a current limiting resistor.

Is this for the four LEDs from this post.
http://forum.arduino.cc/index.php?topic=420157.0
LEDs need current limiting resistors.
Leo..