PageRenderTime 122ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 60ms app.codeStats 0ms

/app/helpers/cron_log_helper.php

https://bitbucket.org/nanomites_webdev/heroframework
PHP | 20 lines | 8 code | 3 blank | 9 comment | 0 complexity | b4563984f6f152e49f38c2acd481e4dd MD5 | raw file
 1<?php
 2
 3/**
 4* Cron Log
 5*
 6* Log a note during the processing of your cron hook.
 7*
 8* @param string $message
 9*
10* @return void
11*/
12function cron_log ($message) {
13	log_message('debug', $message);
14	
15	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">
16			' . $message . '
17		  </div>';
18		  
19	return;
20}