If you replace all \n in $message with "\n".current_time you should get the desired output. A trailing \n needs to be exempted.
In reply to Re: Appending time to each line
by hdb
in thread Appending time to each line
by ajose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |