In package com.caseyjbrooks.clog

public class DefaultLogger extends Object implements ClogLogger

The standard Clog Logger implementation, used if no other loggers have been registered. Displays messages in the following format:

[LEVEL] Tag: Message

Constructors

public DefaultLogger()
Parameters:
  • No parameters
public DefaultLogger(Priority priority)
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