heroframework /app/helpers/cron_log_helper.php

Language PHP Lines 20
MD5 Hash b4563984f6f152e49f38c2acd481e4dd Estimated Cost $126 (why?)
Repository https://bitbucket.org/nanomites_webdev/heroframework.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<?php

/**
* Cron Log
*
* Log a note during the processing of your cron hook.
*
* @param string $message
*
* @return void
*/
function cron_log ($message) {
	log_message('debug', $message);
	
	echo '<div style="border-bottom: 1px solid #dedede; padding: 10px 25px; font-family: Monaco, Courier New, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace; color: #333; background-color: #f0f0f0; text-shadow: 0px 1px #fff">
			' . $message . '
		  </div>';
		  
	return;
}
Back to Top