Documentation
Table of Contents
- Concept
- API Docs
- botanss
- Dragonfly
- utils
- WebParam
- CondStream
- net
- AppDomain
- Http
- HttpRequest
- WebFrame
- net.components
- Cookie
Concept
index.js
The index.js initiates Dragonfly logging module, the cluster module. After that, a servelet will be created by using:
new AppDomain( function( req, res ) { // The req, res here is identical to http.ClientRequest & http.ServerResponse }, 5000 );
Package Loader
By loading package.js, global.botanLoader is automatically initiated.
require( "./BotanSS/package" ); var cl = global.botanLoader; cl.load( "botanss.Dragonfly" );
API Docs
Dragonfly
Description
Dragonfly is the logging module for BotanSS
Methods
Debug( Messsage, Visibility )
Log the Message with level of Thermosphere
Info( Messsage, Visibility )
Log the Message with level of Stratosphere
Warning( Messsage, Visibility )
Log the Message with level of Hydrosphere
Error( Messsage, Visibility )
Log the Message with level of Lithosphere
Log( Messsage, Sphere, Visibility )
Log the Message within Sphere
Message
The message to log
Sphere
Any sphere under Dragonfly.Spheres
Visibility
Any visibility under Dragonfly.Visibility
Properties
Visibility
Log the Message within Sphere
VISIBLE
The message to log
HIDDEN
Any sphere under Dragonfly.Spheres
UNSEEN
Any visibility under Dragonfly.Visibility