Skip to content

Instantly share code, notes, and snippets.

@Maslor
Created April 14, 2016 07:33
Show Gist options
  • Save Maslor/09c16705c1210c3e7ea8b5c3d93191df to your computer and use it in GitHub Desktop.
Save Maslor/09c16705c1210c3e7ea8b5c3d93191df to your computer and use it in GitHub Desktop.
log4j levels
log.debug("message"); //Designates fine-grained informational events that are most useful to debug an application.
log.error("message"); //Designates error events that might still allow the application to continue running.
log.fatal("message"); //Designates very severe error events that will presumably lead the application to abort.
log.info("message"); //Designates informational messages that highlight the progress of the application at coarse-grained level.
log.trace("message"); //Designates finer-grained informational events than the DEBUG.
log.warn("message"); //Designates potentially harmful situations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment