aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.php b/src/globals.php
index 3587b42..ded3ba2 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -220,6 +220,9 @@ function ValidSession() {
function LOGError($msg) {
LOGLevel($msg,0,false);
}
+function LOGInfo($msg) {
+ LOGLevel($msg,2,false);
+}
// grava linha no arquivo de log com o nivel especificado
function LOGLevel($msg,$level,$dodb=true) {
$msga = sanitizeText(str_replace("\n", " ", $msg));