Logger is the class you will use to specify the log category when logging messages with FB_LOG().

Synopsis

Declared in <folly/logging/Logger.h>

class Logger;

Description

Logger is really just a small wrapper class that contains a pointer to the appropriate LogCategory object. It primarily exists as syntactic sugar to allow for easily looking up LogCategory objects.

Member Functions

Name

Description

Logger [constructor]

Constructors

getCategory

Get the LogCategory that this Logger refers to.

Created with MrDocs