Module: tf.logging

Module tf.logging

Logging utilities.


Constant DEBUG

Constant ERROR

Constant FATAL

Constant INFO


Constant WARN

Constant debug

Constant error

Constant fatal


get_verbosity(...): Return how much logging output will be produced.

Constant info

Constant log

log_every_n(...): Log 'msg % args' at level 'level' once per 'n' times.

log_first_n(...): Log 'msg % args' at level 'level' only first 'n' times.

log_if(...): Log 'msg % args' at level 'level' only if condition is fulfilled.

set_verbosity(...): Sets the threshold for what messages will be logged.


Constant warn

Constant warning

Defined in tensorflow/python/platform/