Profileron()
Turns on the high performance profiler to log data straight into MongoDB. This will only create one connection to the server and use the disk to page data out. Form, URL, Database and Mongo activity, page performance data is logged
Usage
BOOLEAN = Profileron(
mongourl,
database,
collection
)
Argument | Summary |
---|---|
mongourl | Where the logging data will be logged. In the format of mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]] |
database | Name of the database |
collection | Name of the collection |
Calling
Supports named-parameter calling allowing you to use the function like:
Profileron( mongourl=?, database=?, collection=? );
Supports passing parameters as a structure using ArgumentCollection:
Profileron( ArgumentCollection={ mongourl : ?, database : ?, collection : ? } );