Poco::JS::Core

class LoggerWrapper

File Information

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

Description

JavaScript wrapper for Poco::Logger.

Inheritance

Direct Base Classes: Wrapper

All Base Classes: Wrapper

Member Summary

Member Functions: close, construct, constructor, critical, debug, dump, error, fatal, format, getLevel, getName, information, isLogger, log, names, notice, objectTemplate, setLevel, trace, warning

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

Constructors

LoggerWrapper

LoggerWrapper();

Creates the LoggerWrapper for the root logger.

Destructor

~LoggerWrapper virtual

~LoggerWrapper();

Destroys the LoggerWrapper.

Member Functions

constructor

v8::Handle < v8::FunctionTemplate > constructor(
    v8::Isolate * pIsolate
);

Creates and returns a V8 FunctionTemplate for the constructor function.

objectTemplate virtual

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

close protected static

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

construct protected static

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

critical protected static

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

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
);

fatal protected static

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

format protected static

static void format(
    int prio,
    const v8::FunctionCallbackInfo < v8::Value > & args,
    int firstArgIndex = 0,
    const std::string & prefix = ""
);

getLevel protected static

static void getLevel(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getName protected static

static void getName(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

information protected static

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

isLogger protected static

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

log protected static

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

names protected static

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

notice protected static

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

setLevel protected static

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

setLevel protected static

static void setLevel(
    v8::Local < v8::String > name,
    v8::Local < v8::Value > value,
    const v8::PropertyCallbackInfo < void > & info
);

trace protected static

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

warning protected static

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

Securely control IoT edge devices from anywhere   Connect a Device