Poco::JS::Core

class ConsoleWrapper

File Information

Library: JS/Core
Package: Wrappers
Header: Poco/JS/Core/ConsoleWrapper.h

Description

JavaScript wrapper for Poco::Logger, presenting a Console-style interface as known from web browsers.

Inheritance

Direct Base Classes: Wrapper

All Base Classes: Wrapper

Member Summary

Member Functions: debug, dump, error, info, log, objectTemplate, trace, warn, xassert

Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent

Constructors

ConsoleWrapper

ConsoleWrapper();

Creates the ConsoleWrapper for the root logger.

Destructor

~ConsoleWrapper virtual

~ConsoleWrapper();

Destroys the ConsoleWrapper.

Member Functions

objectTemplate virtual

v8::Handle < v8::ObjectTemplate > objectTemplate(
    v8::Isolate * pIsolate
);

debug protected static

static void debug(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

dump protected static

static void dump(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

error protected static

static void error(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

info protected static

static void info(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

log protected static

static void log(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

trace protected static

static void trace(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

warn protected static

static void warn(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

xassert protected static

static void xassert(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

Securely control IoT edge devices from anywhere   Connect a Device