In package com.caseyjbrooks.clog

public class EmptyLogger extends Object implements ClogLogger

A default inactive logger. For performance in a production environment, loggers should be replaced by EmptyLogger or a custom inactive logger.

Constructors

public EmptyLogger()
Parameters:
  • No parameters

Methods

public boolean isActive()
Parameters:
  • No parameters
public int log(String tag, String message)
Parameters:
  • String tag
  • String message
public int log(String tag, String message, Throwable throwable)
Parameters:
  • String tag
  • String message
  • Throwable throwable
public Priority priority()
Parameters:
  • No parameters