search

goog.log.Level

Provided By
All Known Aliases

The goog.log.Level class defines a set of standard logging levels that can be used to control logging output. The logging goog.log.Level objects are ordered and are specified by ordered integers. Enabling logging at a given level also enables logging at all higher levels.

Clients should normally use the predefined goog.log.Level constants such as goog.log.Level.SEVERE.

The levels in descending order are:

  • SEVERE (highest value)
  • WARNING
  • INFO
  • CONFIG
  • FINE
  • FINER
  • FINEST (lowest value)
In addition there is a level OFF that can be used to turn off logging, and a level ALL that can be used to enable logging of all messages.

new Level( name, value )

Parameters
namestring

The name of the level.

valuenumber

The numeric value of the level.

Instance Methods

Instance Properties

Static Functions

Static Properties