Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Trevor Burton

i use a custom-built logging thing at work, at home i use ALCON - and have
just started looking at xRay

On 1/25/07, Andy Herrman [EMAIL PROTECTED] wrote:


I'm looking for a good logging library compatible with Flash 7 along
the lines of log4j.  I found this one, which looks exactly like what I
want:

http://code.audiofarm.de/Logger/

but it won't build with MTASC (works fine in the FlashIDE though).
Does anyone know if there's a version of it that works with MTASC, or
other similar libraries that do?  I saw log4f, which is an extension
of the one I found, but it looks like the extensions were all for
Flex, which I don't use.

What do you all use for logging?  Up till now I had my own simple
logging classes written, but I keep finding myself extending it, and
I've gotten to the point where it would be better to find a full
logging solution instead of continuing to work on mine (originally
mine was really simple, but keeps getting more and more complicated).

   -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread eka

Hello :)

you can use my openSource framework VEGAS : http://vegas.riaforge.org/

the AS2 logging tool in the vegas.logging package is based on the
mx.loggingAS3 framework :)

You can try the examples in the AS2/trunk/bin/test/vegas/logging directory
of the Subversion.

My framework is MTASC and FDT compatible.

EKA+ :)

2007/1/25, Andy Herrman [EMAIL PROTECTED]:


I'm looking for a good logging library compatible with Flash 7 along
the lines of log4j.  I found this one, which looks exactly like what I
want:

http://code.audiofarm.de/Logger/

but it won't build with MTASC (works fine in the FlashIDE though).
Does anyone know if there's a version of it that works with MTASC, or
other similar libraries that do?  I saw log4f, which is an extension
of the one I found, but it looks like the extensions were all for
Flex, which I don't use.

What do you all use for logging?  Up till now I had my own simple
logging classes written, but I keep finding myself extending it, and
I've gotten to the point where it would be better to find a full
logging solution instead of continuing to work on mine (originally
mine was really simple, but keeps getting more and more complicated).

   -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Andy Herrman

So, the stuff I've written myself is fairly close to what ALCON does
(I was playing around with that earlier today).  That's not really
what I'm looking for though.  I'm looking for something more along the
lines of log4j, where you can have multiple loggers, formatters, and
handlers.  My own logging stuff has the beginnings of the multiple
formatters/handlers, but making the jump from that to the flexibility
of log4j would take a lot of time I don't really have.

  -Andy

On 1/25/07, Trevor Burton [EMAIL PROTECTED] wrote:

i use a custom-built logging thing at work, at home i use ALCON - and have
just started looking at xRay

On 1/25/07, Andy Herrman [EMAIL PROTECTED] wrote:

 I'm looking for a good logging library compatible with Flash 7 along
 the lines of log4j.  I found this one, which looks exactly like what I
 want:

 http://code.audiofarm.de/Logger/

 but it won't build with MTASC (works fine in the FlashIDE though).
 Does anyone know if there's a version of it that works with MTASC, or
 other similar libraries that do?  I saw log4f, which is an extension
 of the one I found, but it looks like the extensions were all for
 Flex, which I don't use.

 What do you all use for logging?  Up till now I had my own simple
 logging classes written, but I keep finding myself extending it, and
 I've gotten to the point where it would be better to find a full
 logging solution instead of continuing to work on mine (originally
 mine was really simple, but keeps getting more and more complicated).

-Andy
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Andy Herrman

I looked at VEGAS actually, but wasn't sure whether I could use it.
I'm not really clear on how the Mozilla license handles linking.
Specifically, if I don't modify any of the VEGAS code and simply use
its classes and such in my own code, does my code have to fall under
the MPL?  I couldn't really tell from reading the license.  If it will
require my code to be MPL (or any other open source license) I won't
be able to use it, as the company isn't going to allow that.

  -Andy

On 1/25/07, eka [EMAIL PROTECTED] wrote:

Hello :)

you can use my openSource framework VEGAS : http://vegas.riaforge.org/

the AS2 logging tool in the vegas.logging package is based on the
mx.loggingAS3 framework :)

You can try the examples in the AS2/trunk/bin/test/vegas/logging directory
of the Subversion.

My framework is MTASC and FDT compatible.

EKA+ :)

2007/1/25, Andy Herrman [EMAIL PROTECTED]:

 I'm looking for a good logging library compatible with Flash 7 along
 the lines of log4j.  I found this one, which looks exactly like what I
 want:

 http://code.audiofarm.de/Logger/

 but it won't build with MTASC (works fine in the FlashIDE though).
 Does anyone know if there's a version of it that works with MTASC, or
 other similar libraries that do?  I saw log4f, which is an extension
 of the one I found, but it looks like the extensions were all for
 Flex, which I don't use.

 What do you all use for logging?  Up till now I had my own simple
 logging classes written, but I keep finding myself extending it, and
 I've gotten to the point where it would be better to find a full
 logging solution instead of continuing to work on mine (originally
 mine was really simple, but keeps getting more and more complicated).

-Andy
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread eka

Hello :)

With my licence you can do commercial, free application etc.

You can use an other licence with my framework and your work keep this
licence ;) For me openSource if open ... the objective is to considerate
my work and the time passed to implement the libraries :)

No problem to use VEGAS in your applications ;)

EKA+ :)


2007/1/25, Andy Herrman [EMAIL PROTECTED]:


I looked at VEGAS actually, but wasn't sure whether I could use it.
I'm not really clear on how the Mozilla license handles linking.
Specifically, if I don't modify any of the VEGAS code and simply use
its classes and such in my own code, does my code have to fall under
the MPL?  I couldn't really tell from reading the license.  If it will
require my code to be MPL (or any other open source license) I won't
be able to use it, as the company isn't going to allow that.

   -Andy

On 1/25/07, eka [EMAIL PROTECTED] wrote:
 Hello :)

 you can use my openSource framework VEGAS : http://vegas.riaforge.org/

 the AS2 logging tool in the vegas.logging package is based on the
 mx.loggingAS3 framework :)

 You can try the examples in the AS2/trunk/bin/test/vegas/logging
directory
 of the Subversion.

 My framework is MTASC and FDT compatible.

 EKA+ :)

 2007/1/25, Andy Herrman [EMAIL PROTECTED]:
 
  I'm looking for a good logging library compatible with Flash 7 along
  the lines of log4j.  I found this one, which looks exactly like what I
  want:
 
  http://code.audiofarm.de/Logger/
 
  but it won't build with MTASC (works fine in the FlashIDE though).
  Does anyone know if there's a version of it that works with MTASC, or
  other similar libraries that do?  I saw log4f, which is an extension
  of the one I found, but it looks like the extensions were all for
  Flex, which I don't use.
 
  What do you all use for logging?  Up till now I had my own simple
  logging classes written, but I keep finding myself extending it, and
  I've gotten to the point where it would be better to find a full
  logging solution instead of continuing to work on mine (originally
  mine was really simple, but keeps getting more and more complicated).
 
 -Andy
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Hans Wichman

Hi,
you might want to take a look at xflas2, at osflash.org/xflas2
It says alpha, but I've used it (and wrote it) for the last year and haven't
found any problems.
It comes with a bunch of examples.

What I like most about it, is the flexibililty and the filter options.

Basicly if you use:
Logger.log (foo);

it will print:
Classname-methodname says:foo

Take a look if you like. Flash IDE and Mtasc compatible, no differences in
usage or functionality.

greetz
JC



On 1/25/07, eka [EMAIL PROTECTED] wrote:


Hello :)

With my licence you can do commercial, free application etc.

You can use an other licence with my framework and your work keep this
licence ;) For me openSource if open ... the objective is to considerate
my work and the time passed to implement the libraries :)

No problem to use VEGAS in your applications ;)

EKA+ :)


2007/1/25, Andy Herrman [EMAIL PROTECTED]:

 I looked at VEGAS actually, but wasn't sure whether I could use it.
 I'm not really clear on how the Mozilla license handles linking.
 Specifically, if I don't modify any of the VEGAS code and simply use
 its classes and such in my own code, does my code have to fall under
 the MPL?  I couldn't really tell from reading the license.  If it will
 require my code to be MPL (or any other open source license) I won't
 be able to use it, as the company isn't going to allow that.

-Andy

 On 1/25/07, eka [EMAIL PROTECTED] wrote:
  Hello :)
 
  you can use my openSource framework VEGAS : http://vegas.riaforge.org/
 
  the AS2 logging tool in the vegas.logging package is based on the
  mx.loggingAS3 framework :)
 
  You can try the examples in the AS2/trunk/bin/test/vegas/logging
 directory
  of the Subversion.
 
  My framework is MTASC and FDT compatible.
 
  EKA+ :)
 
  2007/1/25, Andy Herrman [EMAIL PROTECTED]:
  
   I'm looking for a good logging library compatible with Flash 7 along
   the lines of log4j.  I found this one, which looks exactly like what
I
   want:
  
   http://code.audiofarm.de/Logger/
  
   but it won't build with MTASC (works fine in the FlashIDE though).
   Does anyone know if there's a version of it that works with MTASC,
or
   other similar libraries that do?  I saw log4f, which is an extension
   of the one I found, but it looks like the extensions were all for
   Flex, which I don't use.
  
   What do you all use for logging?  Up till now I had my own simple
   logging classes written, but I keep finding myself extending it, and
   I've gotten to the point where it would be better to find a full
   logging solution instead of continuing to work on mine (originally
   mine was really simple, but keeps getting more and more
complicated).
  
  -Andy
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Sönke Rohde
You might also want to look at zeroi: http://osflash.org/zeroi
Works with mtasc and trace-replacements and has is compatible with Luminix,
Xray, SOS and could be extended easily.

Cheers,
Sönke 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Andy Herrman
 Sent: Thursday, January 25, 2007 5:43 PM
 To: Flashcoders
 Subject: [Flashcoders] AS 2 Logging Library
 
 I'm looking for a good logging library compatible with Flash 7 along
 the lines of log4j.  I found this one, which looks exactly like what I
 want:
 
 http://code.audiofarm.de/Logger/
 
 but it won't build with MTASC (works fine in the FlashIDE though).
 Does anyone know if there's a version of it that works with MTASC, or
 other similar libraries that do?  I saw log4f, which is an extension
 of the one I found, but it looks like the extensions were all for
 Flex, which I don't use.
 
 What do you all use for logging?  Up till now I had my own simple
 logging classes written, but I keep finding myself extending it, and
 I've gotten to the point where it would be better to find a full
 logging solution instead of continuing to work on mine (originally
 mine was really simple, but keeps getting more and more complicated).
 
-Andy
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Hans Wichman

ps with respect to the multiple logger thing, in xflas2 you dont create
different loggers for a class, you simply create one logger and control the
output for a class with filters etc. This allows you for example to:
- print only output from certain classes
- specify the detail for separate classes
- print only info from certain methods in certain classes, ignoring others
- print info from a method a maximum amount per time unit, eg onEnterFrame
in a 120 fps movie, only output a log msg once every second

All settings can be controlled through an XML file although that part hasnt
fully been fleshed out. Serialisation and deserialisation of the loggers
configuration to xml is operational, however the loading of the xml is not
yet part of the logging framework.



On 1/25/07, Hans Wichman [EMAIL PROTECTED] wrote:


Hi,
you might want to take a look at xflas2, at osflash.org/xflas2
It says alpha, but I've used it (and wrote it) for the last year and
haven't found any problems.
It comes with a bunch of examples.

What I like most about it, is the flexibililty and the filter options.

Basicly if you use:
Logger.log (foo);

it will print:
Classname-methodname says:foo

Take a look if you like. Flash IDE and Mtasc compatible, no differences in
usage or functionality.

greetz
JC



On 1/25/07, eka [EMAIL PROTECTED] wrote:

 Hello :)

 With my licence you can do commercial, free application etc.

 You can use an other licence with my framework and your work keep this
 licence ;) For me openSource if open ... the objective is to
 considerate
 my work and the time passed to implement the libraries :)

 No problem to use VEGAS in your applications ;)

 EKA+ :)


 2007/1/25, Andy Herrman [EMAIL PROTECTED]:
 
  I looked at VEGAS actually, but wasn't sure whether I could use it.
  I'm not really clear on how the Mozilla license handles linking.
  Specifically, if I don't modify any of the VEGAS code and simply use
  its classes and such in my own code, does my code have to fall under
  the MPL?  I couldn't really tell from reading the license.  If it will

  require my code to be MPL (or any other open source license) I won't
  be able to use it, as the company isn't going to allow that.
 
 -Andy
 
  On 1/25/07, eka  [EMAIL PROTECTED] wrote:
   Hello :)
  
   you can use my openSource framework VEGAS :
 http://vegas.riaforge.org/
  
   the AS2 logging tool in the vegas.logging package is based on the
   mx.loggingAS3 framework :)
  
   You can try the examples in the AS2/trunk/bin/test/vegas/logging
  directory
   of the Subversion.
  
   My framework is MTASC and FDT compatible.
  
   EKA+ :)
  
   2007/1/25, Andy Herrman [EMAIL PROTECTED]:
   
I'm looking for a good logging library compatible with Flash 7
 along
the lines of log4j.  I found this one, which looks exactly like
 what I
want:
   
http://code.audiofarm.de/Logger/
   
but it won't build with MTASC (works fine in the FlashIDE though).
Does anyone know if there's a version of it that works with MTASC,
 or
other similar libraries that do?  I saw log4f, which is an
 extension
of the one I found, but it looks like the extensions were all for
Flex, which I don't use.
   
What do you all use for logging?  Up till now I had my own simple
logging classes written, but I keep finding myself extending it,
 and
I've gotten to the point where it would be better to find a full
logging solution instead of continuing to work on mine (originally
mine was really simple, but keeps getting more and more
 complicated).
   
   -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Trevor Burton

i added to ALCON some bits and bobs to make it stamp the log with the
classname - it prepends a timestamp, too... but obviously not enough for you
needs...

On 1/25/07, Hans Wichman [EMAIL PROTECTED] wrote:


Hi,
you might want to take a look at xflas2, at osflash.org/xflas2
It says alpha, but I've used it (and wrote it) for the last year and
haven't
found any problems.
It comes with a bunch of examples.

What I like most about it, is the flexibililty and the filter options.

Basicly if you use:
Logger.log (foo);

it will print:
Classname-methodname says:foo

Take a look if you like. Flash IDE and Mtasc compatible, no differences in
usage or functionality.

greetz
JC



On 1/25/07, eka [EMAIL PROTECTED] wrote:

 Hello :)

 With my licence you can do commercial, free application etc.

 You can use an other licence with my framework and your work keep this
 licence ;) For me openSource if open ... the objective is to
considerate
 my work and the time passed to implement the libraries :)

 No problem to use VEGAS in your applications ;)

 EKA+ :)


 2007/1/25, Andy Herrman [EMAIL PROTECTED]:
 
  I looked at VEGAS actually, but wasn't sure whether I could use it.
  I'm not really clear on how the Mozilla license handles linking.
  Specifically, if I don't modify any of the VEGAS code and simply use
  its classes and such in my own code, does my code have to fall under
  the MPL?  I couldn't really tell from reading the license.  If it will
  require my code to be MPL (or any other open source license) I won't
  be able to use it, as the company isn't going to allow that.
 
 -Andy
 
  On 1/25/07, eka [EMAIL PROTECTED] wrote:
   Hello :)
  
   you can use my openSource framework VEGAS :
http://vegas.riaforge.org/
  
   the AS2 logging tool in the vegas.logging package is based on the
   mx.loggingAS3 framework :)
  
   You can try the examples in the AS2/trunk/bin/test/vegas/logging
  directory
   of the Subversion.
  
   My framework is MTASC and FDT compatible.
  
   EKA+ :)
  
   2007/1/25, Andy Herrman [EMAIL PROTECTED]:
   
I'm looking for a good logging library compatible with Flash 7
along
the lines of log4j.  I found this one, which looks exactly like
what
 I
want:
   
http://code.audiofarm.de/Logger/
   
but it won't build with MTASC (works fine in the FlashIDE though).
Does anyone know if there's a version of it that works with MTASC,
 or
other similar libraries that do?  I saw log4f, which is an
extension
of the one I found, but it looks like the extensions were all for
Flex, which I don't use.
   
What do you all use for logging?  Up till now I had my own simple
logging classes written, but I keep finding myself extending it,
and
I've gotten to the point where it would be better to find a full
logging solution instead of continuing to work on mine (originally
mine was really simple, but keeps getting more and more
 complicated).
   
   -Andy
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized 

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Andy Herrman

Thanks for all the suggestions!  I'll go play around with them a bit.

  -Andy

On 1/25/07, Trevor Burton [EMAIL PROTECTED] wrote:

i added to ALCON some bits and bobs to make it stamp the log with the
classname - it prepends a timestamp, too... but obviously not enough for you
needs...

On 1/25/07, Hans Wichman [EMAIL PROTECTED] wrote:

 Hi,
 you might want to take a look at xflas2, at osflash.org/xflas2
 It says alpha, but I've used it (and wrote it) for the last year and
 haven't
 found any problems.
 It comes with a bunch of examples.

 What I like most about it, is the flexibililty and the filter options.

 Basicly if you use:
 Logger.log (foo);

 it will print:
 Classname-methodname says:foo

 Take a look if you like. Flash IDE and Mtasc compatible, no differences in
 usage or functionality.

 greetz
 JC



 On 1/25/07, eka [EMAIL PROTECTED] wrote:
 
  Hello :)
 
  With my licence you can do commercial, free application etc.
 
  You can use an other licence with my framework and your work keep this
  licence ;) For me openSource if open ... the objective is to
 considerate
  my work and the time passed to implement the libraries :)
 
  No problem to use VEGAS in your applications ;)
 
  EKA+ :)
 
 
  2007/1/25, Andy Herrman [EMAIL PROTECTED]:
  
   I looked at VEGAS actually, but wasn't sure whether I could use it.
   I'm not really clear on how the Mozilla license handles linking.
   Specifically, if I don't modify any of the VEGAS code and simply use
   its classes and such in my own code, does my code have to fall under
   the MPL?  I couldn't really tell from reading the license.  If it will
   require my code to be MPL (or any other open source license) I won't
   be able to use it, as the company isn't going to allow that.
  
  -Andy
  
   On 1/25/07, eka [EMAIL PROTECTED] wrote:
Hello :)
   
you can use my openSource framework VEGAS :
 http://vegas.riaforge.org/
   
the AS2 logging tool in the vegas.logging package is based on the
mx.loggingAS3 framework :)
   
You can try the examples in the AS2/trunk/bin/test/vegas/logging
   directory
of the Subversion.
   
My framework is MTASC and FDT compatible.
   
EKA+ :)
   
2007/1/25, Andy Herrman [EMAIL PROTECTED]:

 I'm looking for a good logging library compatible with Flash 7
 along
 the lines of log4j.  I found this one, which looks exactly like
 what
  I
 want:

 http://code.audiofarm.de/Logger/

 but it won't build with MTASC (works fine in the FlashIDE though).
 Does anyone know if there's a version of it that works with MTASC,
  or
 other similar libraries that do?  I saw log4f, which is an
 extension
 of the one I found, but it looks like the extensions were all for
 Flex, which I don't use.

 What do you all use for logging?  Up till now I had my own simple
 logging classes written, but I keep finding myself extending it,
 and
 I've gotten to the point where it would be better to find a full
 logging solution instead of continuing to work on mine (originally
 mine was really simple, but keeps getting more and more
  complicated).

-Andy
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Andy Herrman

I like what I see so far for VEGAS, especially the XPanel target.
However, I'm getting a weird problem where if I build the SWF using
the Flash IDE everything works, but if I use MTASC the logs don't make
it to XPanel.  XPanel does clear the last set of logs, so it's at
least initializing its connection, but the logs themselves don't seem
to be making it.  And it's all the same code.

Here's my test code:

--
import vegas.logging.Log;
import vegas.logging.LogEventLevel;
import vegas.logging.ILogger;
import vegas.logging.targets.XPanelTarget;
import vegas.logging.targets.TraceTarget;

class TestMain {
 private static var LOG:ILogger;
 private var i:Number = 0;

 public static function main(rootMC:MovieClip):Void {
   Stage.align = LT;
   Stage.scaleMode = noScale;
   rootMC.stop();

   var target:XPanelTarget = new XPanelTarget(Test);
   target.includeLines = true;
   target.includeLevel = true;
   target.includeTime = true;
   target.includeCategory = true;
   target.filters = [*];
   target.level = LogEventLevel.ALL;

   Log.addTarget(target);

   var traceTarget:TraceTarget = new TraceTarget();
   traceTarget.includeLines = true;
   traceTarget.includeLevel = true;
   traceTarget.includeTime = true;
   traceTarget.includeCategory = true;
   traceTarget.filters = [*];
   traceTarget.level = LogEventLevel.ALL;

   Log.addTarget(traceTarget);

   LOG = Log.getLogger(TestMain);

   var t:TestMain = new TestMain(rootMC);
 }

 function TestMain(rootMC:MovieClip) {
   initMovie();
 }

 function initMovie():Void {
   LOG.info(initMovie);

   setInterval(this, 'log', 2000);
 }

 private function log():Void {
   LOG.debug(Debug + i);
   LOG.error(Error + i);
   LOG.fatal(Fatal + i);
   LOG.info(Info + i);
   LOG.warn(Warn + i);
   LOG.info(Test {0} formatting {1} of {2} doom, true, i, testy);
   i++;
 }
}
--

The FLA has the following on the first frame:
--
TestMain.main(this);
--

The trace target always works, but the XPanel target only works when
built from the Flash IDE.

To build I'm using FlashDevelop, with code injection turned on,
UseMain turned off, and UseMX turned on.

Any idea why this might be happening?

  -Andy

On 1/25/07, eka [EMAIL PROTECTED] wrote:

Hello :)

With my licence you can do commercial, free application etc.

You can use an other licence with my framework and your work keep this
licence ;) For me openSource if open ... the objective is to considerate
my work and the time passed to implement the libraries :)

No problem to use VEGAS in your applications ;)

EKA+ :)


2007/1/25, Andy Herrman [EMAIL PROTECTED]:

 I looked at VEGAS actually, but wasn't sure whether I could use it.
 I'm not really clear on how the Mozilla license handles linking.
 Specifically, if I don't modify any of the VEGAS code and simply use
 its classes and such in my own code, does my code have to fall under
 the MPL?  I couldn't really tell from reading the license.  If it will
 require my code to be MPL (or any other open source license) I won't
 be able to use it, as the company isn't going to allow that.

-Andy

 On 1/25/07, eka [EMAIL PROTECTED] wrote:
  Hello :)
 
  you can use my openSource framework VEGAS : http://vegas.riaforge.org/
 
  the AS2 logging tool in the vegas.logging package is based on the
  mx.loggingAS3 framework :)
 
  You can try the examples in the AS2/trunk/bin/test/vegas/logging
 directory
  of the Subversion.
 
  My framework is MTASC and FDT compatible.
 
  EKA+ :)
 
  2007/1/25, Andy Herrman [EMAIL PROTECTED]:
  
   I'm looking for a good logging library compatible with Flash 7 along
   the lines of log4j.  I found this one, which looks exactly like what I
   want:
  
   http://code.audiofarm.de/Logger/
  
   but it won't build with MTASC (works fine in the FlashIDE though).
   Does anyone know if there's a version of it that works with MTASC, or
   other similar libraries that do?  I saw log4f, which is an extension
   of the one I found, but it looks like the extensions were all for
   Flex, which I don't use.
  
   What do you all use for logging?  Up till now I had my own simple
   logging classes written, but I keep finding myself extending it, and
   I've gotten to the point where it would be better to find a full
   logging solution instead of continuing to work on mine (originally
   mine was really simple, but keeps getting more and more complicated).
  
  -Andy
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread eka

Hello :)

yes the unit tests of the XPanelTarget (and the vegas.logging package) are
in progress... for the moment the XPanel bug in MTASC ! :( Sorry for this
problem :)

I want clear this bug in the class this next week-end

PS : i have add a new target little time ago with the FireBugTarget and you
can test now this target with the FireBug extension (
https://addons.mozilla.org/firefox/1843/)

For the moment in my projects i use in windows the SOS console and in other
system the FlashInspector... The Xpanel is a good panel but i must search
the problem of my target in MTASC !

My objective is to do my personal console with Apollo when apollo will be in
this beta or final version !

2007/1/25, Andy Herrman [EMAIL PROTECTED]:


I like what I see so far for VEGAS, especially the XPanel target.
However, I'm getting a weird problem where if I build the SWF using
the Flash IDE everything works, but if I use MTASC the logs don't make
it to XPanel.  XPanel does clear the last set of logs, so it's at
least initializing its connection, but the logs themselves don't seem
to be making it.  And it's all the same code.

Here's my test code:

--
import vegas.logging.Log;
import vegas.logging.LogEventLevel;
import vegas.logging.ILogger;
import vegas.logging.targets.XPanelTarget;
import vegas.logging.targets.TraceTarget;

class TestMain {
  private static var LOG:ILogger;
  private var i:Number = 0;

  public static function main(rootMC:MovieClip):Void {
Stage.align = LT;
Stage.scaleMode = noScale;
rootMC.stop();

var target:XPanelTarget = new XPanelTarget(Test);
target.includeLines = true;
target.includeLevel = true;
target.includeTime = true;
target.includeCategory = true;
target.filters = [*];
target.level = LogEventLevel.ALL;

Log.addTarget(target);

var traceTarget:TraceTarget = new TraceTarget();
traceTarget.includeLines = true;
traceTarget.includeLevel = true;
traceTarget.includeTime = true;
traceTarget.includeCategory = true;
traceTarget.filters = [*];
traceTarget.level = LogEventLevel.ALL;

Log.addTarget(traceTarget);

LOG = Log.getLogger(TestMain);

var t:TestMain = new TestMain(rootMC);
  }

  function TestMain(rootMC:MovieClip) {
initMovie();
  }

  function initMovie():Void {
LOG.info(initMovie);

setInterval(this, 'log', 2000);
  }

  private function log():Void {
LOG.debug(Debug + i);
LOG.error(Error + i);
LOG.fatal(Fatal + i);
LOG.info(Info + i);
LOG.warn(Warn + i);
LOG.info(Test {0} formatting {1} of {2} doom, true, i, testy);
i++;
  }
}
--

The FLA has the following on the first frame:
--
TestMain.main(this);
--

The trace target always works, but the XPanel target only works when
built from the Flash IDE.

To build I'm using FlashDevelop, with code injection turned on,
UseMain turned off, and UseMX turned on.

Any idea why this might be happening?

   -Andy

On 1/25/07, eka [EMAIL PROTECTED] wrote:
 Hello :)

 With my licence you can do commercial, free application etc.

 You can use an other licence with my framework and your work keep this
 licence ;) For me openSource if open ... the objective is to
considerate
 my work and the time passed to implement the libraries :)

 No problem to use VEGAS in your applications ;)

 EKA+ :)


 2007/1/25, Andy Herrman [EMAIL PROTECTED]:
 
  I looked at VEGAS actually, but wasn't sure whether I could use it.
  I'm not really clear on how the Mozilla license handles linking.
  Specifically, if I don't modify any of the VEGAS code and simply use
  its classes and such in my own code, does my code have to fall under
  the MPL?  I couldn't really tell from reading the license.  If it will
  require my code to be MPL (or any other open source license) I won't
  be able to use it, as the company isn't going to allow that.
 
 -Andy
 
  On 1/25/07, eka [EMAIL PROTECTED] wrote:
   Hello :)
  
   you can use my openSource framework VEGAS :
http://vegas.riaforge.org/
  
   the AS2 logging tool in the vegas.logging package is based on the
   mx.loggingAS3 framework :)
  
   You can try the examples in the AS2/trunk/bin/test/vegas/logging
  directory
   of the Subversion.
  
   My framework is MTASC and FDT compatible.
  
   EKA+ :)
  
   2007/1/25, Andy Herrman [EMAIL PROTECTED]:
   
I'm looking for a good logging library compatible with Flash 7
along
the lines of log4j.  I found this one, which looks exactly like
what I
want:
   
http://code.audiofarm.de/Logger/
   
but it won't build with MTASC (works fine in the FlashIDE though).
Does anyone know if there's a version of it that works with MTASC,
or
other similar libraries that do?  I saw log4f, which is an
extension
of the one I found, but it looks like the extensions were all for
Flex, which I don't use.
   
What do you all use for logging?  Up till now I had my own simple
logging classes written, but I 

Re: [Flashcoders] AS 2 Logging Library

2007-01-25 Thread Andy Herrman

I found it to be pretty trivial to add a target for Alcon:

http://fgpwiki.corewatch.net/wiki/Alcon

and that's what I'm using right now.  Though XPanel is a lot lighter
weight (if you ignore the .NET requirement), so it would be nicer to
use that if possible.  I tried to look briefly through the code to
figure out what the problem was, but couldn't narrow it down.

One thing that I did run into with MTASC doing something different
than the FlashIDE is if you have a function in your class called
'trace'.  I had put a trace() statement in my class, and the FlashIDE
resolved this as the trace that displays to the output window, but
MTASC resolved it as `this.trace()`.  That's probably not the problem
you're having, but I figured I'd mention it just in case. :)

  -Andy

On 1/25/07, eka [EMAIL PROTECTED] wrote:

Hello :)

yes the unit tests of the XPanelTarget (and the vegas.logging package) are
in progress... for the moment the XPanel bug in MTASC ! :( Sorry for this
problem :)

I want clear this bug in the class this next week-end

PS : i have add a new target little time ago with the FireBugTarget and you
can test now this target with the FireBug extension (
https://addons.mozilla.org/firefox/1843/)

For the moment in my projects i use in windows the SOS console and in other
system the FlashInspector... The Xpanel is a good panel but i must search
the problem of my target in MTASC !

My objective is to do my personal console with Apollo when apollo will be in
this beta or final version !

2007/1/25, Andy Herrman [EMAIL PROTECTED]:

 I like what I see so far for VEGAS, especially the XPanel target.
 However, I'm getting a weird problem where if I build the SWF using
 the Flash IDE everything works, but if I use MTASC the logs don't make
 it to XPanel.  XPanel does clear the last set of logs, so it's at
 least initializing its connection, but the logs themselves don't seem
 to be making it.  And it's all the same code.

 Here's my test code:

 --
 import vegas.logging.Log;
 import vegas.logging.LogEventLevel;
 import vegas.logging.ILogger;
 import vegas.logging.targets.XPanelTarget;
 import vegas.logging.targets.TraceTarget;

 class TestMain {
   private static var LOG:ILogger;
   private var i:Number = 0;

   public static function main(rootMC:MovieClip):Void {
 Stage.align = LT;
 Stage.scaleMode = noScale;
 rootMC.stop();

 var target:XPanelTarget = new XPanelTarget(Test);
 target.includeLines = true;
 target.includeLevel = true;
 target.includeTime = true;
 target.includeCategory = true;
 target.filters = [*];
 target.level = LogEventLevel.ALL;

 Log.addTarget(target);

 var traceTarget:TraceTarget = new TraceTarget();
 traceTarget.includeLines = true;
 traceTarget.includeLevel = true;
 traceTarget.includeTime = true;
 traceTarget.includeCategory = true;
 traceTarget.filters = [*];
 traceTarget.level = LogEventLevel.ALL;

 Log.addTarget(traceTarget);

 LOG = Log.getLogger(TestMain);

 var t:TestMain = new TestMain(rootMC);
   }

   function TestMain(rootMC:MovieClip) {
 initMovie();
   }

   function initMovie():Void {
 LOG.info(initMovie);

 setInterval(this, 'log', 2000);
   }

   private function log():Void {
 LOG.debug(Debug + i);
 LOG.error(Error + i);
 LOG.fatal(Fatal + i);
 LOG.info(Info + i);
 LOG.warn(Warn + i);
 LOG.info(Test {0} formatting {1} of {2} doom, true, i, testy);
 i++;
   }
 }
 --

 The FLA has the following on the first frame:
 --
 TestMain.main(this);
 --

 The trace target always works, but the XPanel target only works when
 built from the Flash IDE.

 To build I'm using FlashDevelop, with code injection turned on,
 UseMain turned off, and UseMX turned on.

 Any idea why this might be happening?

-Andy

 On 1/25/07, eka [EMAIL PROTECTED] wrote:
  Hello :)
 
  With my licence you can do commercial, free application etc.
 
  You can use an other licence with my framework and your work keep this
  licence ;) For me openSource if open ... the objective is to
 considerate
  my work and the time passed to implement the libraries :)
 
  No problem to use VEGAS in your applications ;)
 
  EKA+ :)
 
 
  2007/1/25, Andy Herrman [EMAIL PROTECTED]:
  
   I looked at VEGAS actually, but wasn't sure whether I could use it.
   I'm not really clear on how the Mozilla license handles linking.
   Specifically, if I don't modify any of the VEGAS code and simply use
   its classes and such in my own code, does my code have to fall under
   the MPL?  I couldn't really tell from reading the license.  If it will
   require my code to be MPL (or any other open source license) I won't
   be able to use it, as the company isn't going to allow that.
  
  -Andy
  
   On 1/25/07, eka [EMAIL PROTECTED] wrote:
Hello :)
   
you can use my openSource framework VEGAS :
 http://vegas.riaforge.org/
   
the AS2 logging tool in