Meta Platforms, Inc.
Application logging adapters
Last updated:
Abstract:
Embodiments for managing, serving, and applying logging adapters for applications are described. An administrator for an application can establish mappings between the application and adapters that handle log events from the application. When the application executes, it can get these mappings and use them to obtain the corresponding adapters. The adapters can have a configuration function and a logging function. The configuration function can be executed once per-execution of the application to establish a global state for the logging function of that adapter. The configuration function can receive configuration data provided with the mappings. Thereafter, as the application generates log events, they can be passed to the logging functions of the mapped adapters, which execute to perform logging such as analytics functions, on the events, whether locally or by sending the events to third parties.
Utility
7 Jul 2017
18 Aug 2020