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
Creates the LoggerWrapper for the root logger.
Destructor
~LoggerWrapper
~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
v8::Handle < v8::ObjectTemplate > objectTemplate(
v8::Isolate * pIsolate
);
close
static void close(
const v8::FunctionCallbackInfo < v8::Value > & args
);
construct
static void construct(
const v8::FunctionCallbackInfo < v8::Value > & args
);
critical
static void critical(
const v8::FunctionCallbackInfo < v8::Value > & args
);
debug
static void debug(
const v8::FunctionCallbackInfo < v8::Value > & args
);
dump
static void dump(
const v8::FunctionCallbackInfo < v8::Value > & args
);
error
static void error(
const v8::FunctionCallbackInfo < v8::Value > & args
);
fatal
static void fatal(
const v8::FunctionCallbackInfo < v8::Value > & args
);
format
static void format(
int prio,
const v8::FunctionCallbackInfo < v8::Value > & args,
int firstArgIndex = 0,
const std::string & prefix = ""
);
getLevel
static void getLevel(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
getName
static void getName(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
information
static void information(
const v8::FunctionCallbackInfo < v8::Value > & args
);
isLogger
static void isLogger(
const v8::FunctionCallbackInfo < v8::Value > & args
);
log
static void log(
const v8::FunctionCallbackInfo < v8::Value > & args
);
names
static void names(
const v8::FunctionCallbackInfo < v8::Value > & args
);
notice
static void notice(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setLevel
static void setLevel(
const v8::FunctionCallbackInfo < v8::Value > & args
);
setLevel
static void setLevel(
v8::Local < v8::String > name,
v8::Local < v8::Value > value,
const v8::PropertyCallbackInfo < void > & info
);
trace
static void trace(
const v8::FunctionCallbackInfo < v8::Value > & args
);
warning
static void warning(
const v8::FunctionCallbackInfo < v8::Value > & args
);