Created
June 16, 2016 21:06
-
-
Save jlamim/27bf9fb3d6d84e22fe56105f8641c310 to your computer and use it in GitHub Desktop.
Exemplos de mensagens de log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($variavel) | |
{ | |
log_message('debug', 'Variável informada corretamente.'); | |
} | |
else | |
{ | |
log_message('error', 'Variável não informada.'); | |
} | |
log_message('info', 'Tarefa executada com sucesso.'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment