jankeesvw / logmeister Goto Github PK
View Code? Open in Web Editor NEWLogMeister, one Flash logger to rule them all
LogMeister, one Flash logger to rule them all
Doesn't work like it should
Right now (v 1.8.2) the precompiled swc contains all kinds of 3rd party libraries (such as MonsterDebugger packaged). It should not.
How about to write a loop everywhere for MonsterDebuggerConnector? (not to lose all the arguments except for the first, eg: debug(obj1, obj2) would debug only obj1 right now)
var sender:String = getSender();
for each (var arg:* in args)
{
MonsterDebugger.trace(sender, arg, "", "", color_debug);
}
Hello,
I just discover a little bug in the 2 regex here:
You can see here your current regex bug:
http://regexr.com?2tm7o
And here the corrected version:
http://regexr.com?2tm7l
There miss the "." and the ":" match in the first part of each regexp
.:
The corrected first regexp:
/at\s([a-zA-Z0-9_.:]+)[/|]([a-zA-Z0-9_]+)().+:([\d]+)/
The corrected second regexp:
/at\s([a-zA-Z0-9_.:]+)().+[/|]([a-zA-Z0-9_]+).as:([\d]+)/
edit : damn, the HTML render badly the regexp !
It's, after the first 9 :
But with new regex, you need to add 2 lines here :
https://github.com/base42/LogMeister/blob/master/source/logmeister/logmeister/connectors/AbstractConnector.as#L48
var className : String = senderDetails[1];
var idx:int = className.indexOf("::");
if (idx > -1) className = className.substr(idx + 2);
Not fully tested. Hope that helps. I love LogMeister ;)
Thanks!
Jerome
Hello,
There is a little bug in the FirebugConnector at this line:
https://github.com/base42/LogMeister/blob/master/source/logmeister/logmeister/connectors/FirebugConnector.as#L43
Shouldn't be this ? :
ExternalInterface.call(LOG_FUNCTION, String(args));
J.
Hi there! Cool looking util here. I haven't used Trazzle before but I am use to SOSMax and I see you support that too.
I have included the logmeister.swc file in my project and have used the following lines to try to setup the logger:
LogMeister.addLogger(new TrazzleConnector(contextView.stage, "My Project"));
LogMeister.addLogger(new SosMaxConnector());
I have verified my import statements are correct and I can build without an issue. However any calls to use the logging are not actually working.
log('CTOR'); inside my Context constructor has no affect.
Thanks for any help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.