Okay guys, I think I got something for you

.
Fairly simple / straightforward.
I just tested this on my Nexus 5 and it works:
1. Take the
boot.img file for your device
2. Unpack it, modify the ramdisk's
init.rc file so that the
bootanim section is changed like this (at least this is what my N5 looked like):
before:
service bootanim /system/bin/bootanimation
class core
user graphics
group graphics audio
disabled
oneshot
after:
service bootanim /system/bin/logcat -f /cache/logcatsnapshot.txt -d
class core
user root
# group graphics audio
disabled
oneshot
i.e., your changing the bootanimation entry to:
a) invoke the logcat utility instead of the actual boot animation
b) run as root instead of the graphics user/group
3. Re-pack newly modified ramdisk and your kernel into a new
boot.img
4. Flash or softboot the new
boot.img file and reboot
5. When the device reboots or otherwise hangs, at the point that the
init.rc file tries to invoke the boot animation, a
logcat snapshot will be written to the
/cache/logcatsnapshot.txt file (change the name as you will)
6. If your device bootloops, then boot into your custom recovery and examine the
/cache/logcatsnapshot.txt file for clues about the bootloop.
Lemme know if you guys have questions.