Skip to content

Commit

Permalink
Better info sent to Manager Log
Browse files Browse the repository at this point in the history
The current debug method is to log information in the Manager Log. Clearer parameters are now sent.

Signed-off-by: Matthieu Baudoux <[email protected]>
  • Loading branch information
gabalis committed Feb 23, 2011
1 parent 33957bc commit 111a4d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyperpalenor.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function debugLog($errorMsg_t)
// paramétres
$msg_t = $modx->db->escape($errorMsg_t);
$internalKey_i = "1";
$username_t = "admin";
$action_i = "0";
$username_t = "HyperPalenor plugin";
$action_i = "Action";
$itemname_t = "HyperPalenor - debug";
// on écrit dans le log
$GLOBALS['log']->initAndWriteLog($msg_t, $internalKey_i, $username_t, $action_i, "", $itemname_t);
Expand Down

0 comments on commit 111a4d6

Please sign in to comment.