CCF
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ccf::js::extensions::ConsoleExtension Class Reference

#include <console.h>

Inherits ccf::js::extensions::ExtensionInterface.

Public Member Functions

 ConsoleExtension ()
 
void install (js::core::Context &ctx) override
 
- Public Member Functions inherited from ccf::js::extensions::ExtensionInterface
virtual ~ExtensionInterface ()=default
 

Static Public Member Functions

static void log_info_with_tag (const ccf::js::TxAccess access, std::string_view s)
 

Detailed Description

Adds the following functions to the global object:

These redirect to the CCF logging macros, based on the current TxAccess (ie

Constructor & Destructor Documentation

◆ ConsoleExtension()

ccf::js::extensions::ConsoleExtension::ConsoleExtension ( )
inline

Member Function Documentation

◆ install()

void ccf::js::extensions::ConsoleExtension::install ( js::core::Context ctx)
overridevirtual

◆ log_info_with_tag()

void ccf::js::extensions::ConsoleExtension::log_info_with_tag ( const ccf::js::TxAccess  access,
std::string_view  s 
)
static

The documentation for this class was generated from the following files: