if(!function_exists('log_msg')){// log_msg to return a line and file
// This can be convert to to write a file log
// For now lets leave like this to development.function log_msg ($msg= 'Erro'){$debuger = debug_backtrace();$line = $debuger[0]['line'];$file = $debuger[0]['file'];