Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 15, 2019 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/cca1540bbe4c0cc5cd584076253009a1 to your computer and use it in GitHub Desktop.
Save parzibyte/cca1540bbe4c0cc5cd584076253009a1 to your computer and use it in GitHub Desktop.
<?php # Línea para que gist resalte la sintaxis
/**
* @author parzibyte
*/
# Emergencia: el sistema está inutilizable
Log::emergency($mensaje);
# Alerta: se debe tomar acción de inmediato
Log::alert($mensaje);
# Crítico: condiciones críticas
Log::critical($mensaje);
# Error: condiciones de error
Log::error($mensaje);
# Advertencia: condiciones de advertencia o peligro
Log::warning($mensaje);
# Noticia: normal pero hay que prestarle atención
Log::notice($mensaje);
# Informativo: mensajes informativos
Log::info($mensaje);
# Debug: para depurar. Por ejemplo, imprimir el estado de una variable
Log::debug($mensaje);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment