Just add a filter to Message input .. and you can create your own level trace.. Just so simple ...

----- Original Message ----- From: "Carlos Rovira" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Sunday, August 07, 2005 5:58 PM
Subject: Re: [osflash] Re:New AS Logger panel in ASDT


I'm thinking if it's possible to have more levels in the Levels combo.
I use to write DEBUG logs but that option is not in the
combo....mmmm...

2005/8/7, //PolyKrom\ <[EMAIL PROTECTED]>:
Uhh.. don't think you need to specify the Logger Type Name you use as you
mention... i use simple TRACE and Flashout TRACES in the same application
and i have the two types output in the console.. (i can see where is the
trace from in the Class column).

F

----- Original Message -----
From: "Carlos Rovira" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Sunday, August 07, 2005 5:29 PM
Subject: Re: [osflash] Re:New AS Logger panel in ASDT


> ok, ok
>
> After some test, I notice the following:
>
> - in Log.as you must update loggerName with your favourite logger, as
> I'm using Flashout:
>
> private var _loggerName:String = FlashoutLogger.LOGGER_NAME;
>
> - You must import Log and use it at least one time.
>
> - if you are using Flashout, replace in Traces tab the
> Flashout.tracereplacer by:
>
> Log.addMessage
>
>
> Now you can see all your flashout traces in the new panel, witch is
> great beacuse the flashout log panel was a pain as we must to change
> frow preview to log view.
>
> : )
>
>
> 2005/8/7, //PolyKrom\ <[EMAIL PROTECTED]>:
>> Forget previous... import Log is needed .. i've just used a swf input
>> using -keep that has already Log class included..
>> So you need to import Log and force it for mtasc.. as Feng mention..
>>
>> sorry for confusion
>>
>> F.
>>
>> ----- Original Message -----
>> From: "//PolyKrom\\" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>; "Open Source Flash Mailing List"
>> <[email protected]>
>> Sent: Sunday, August 07, 2005 4:59 PM
>> Subject: Re: [osflash] Re:New AS Logger panel in ASDT
>>
>>
>> > No need to import Log in Application... Just add a Logger to your
>> > project
>> > ,add -trace Log.AddMessage to your build,
>> > click on the green arrow button in the AS Logger and you'll have a >> > the
>> > traces output in the AS Logger !!
>> > You can use a simple trace("message",levelId) or FlashOut Traces and
>> > other
>> > types (don't know how to use others)..
>> > For the simple trace, You have the following level for your traces :
>> > 0:Info,1:Error,2:Warning ..
>> >
>> > It rocks !!
>> >
>> >
>> >
>> > ----- Original Message -----
>> > From: <[EMAIL PROTECTED]>
>> > To: <[email protected]>
>> > Sent: Sunday, August 07, 2005 5:21 PM
>> > Subject: [osflash] Re:New AS Logger panel in ASDT
>> >
>> >
>> >> Hi, Carlos ;
>> >>
>> >> try this:
>> >> in Actionscript Perspective, in Navigator
>> >> select project, right click --> add Logger to Project
>> >>
>> >> then the virtual folder "logger" should appear in your
>> >> project.
>> >>
>> >> in Application.as
>> >> import Log;
>> >> class Application
>> >> {
>> >>    private var _log:Log; // force mtasc to compile Log.as
>> >>    function Application(createdBy)
>> >> {
>> >>  // Re-assigment of _root to Application instance
>> >>  createdBy.__proto__ = this.__proto__;
>> >>  createdBy.__constructor__ = Application;
>> >>  this = createdBy;
>> >>  setup(); }
>> >> public function setup()
>> >> {
>> >>        TRACE("hello world");
>> >>  } public static function main(createdBy:MovieClip)
>> >> {
>> >>      var app = new Application(createdBy);
>> >> }
>> >> }; // end of class
>> >>
>> >> in your build file
>> >>
>> >> use -trace Log.addMessage
>> >>
>> >> finnaly don't forget to "start logger" green button in your
>> >> AS Logger panel.
>> >>
>> >> Hope this help!
>> >>
>> >> Feng Hua
>> >>
>> >>
>> >> Message: 2
>> >> Date: Sun, 7 Aug 2005 11:30:56 +0200
>> >> From: Carlos Rovira <[EMAIL PROTECTED]>
>> >> Subject: [osflash] New AS Logger panel in ASDT
>> >> To: Open Source Flash Mailing List <[email protected]>
>> >> Message-ID: <[EMAIL PROTECTED]>
>> >> Content-Type: text/plain; charset=ISO-8859-1
>> >>
>> >> Hi List,
>> >>
>> >> Someone knows how this new feature works?, I start the AS Logger, >> >> but
>> >> I don't know what's expecting this new panel...
>> >>
>> >> --
>> >> ::| Carlos Rovira
>> >> ::| http://www.carlosrovira.com
>> >>
>> >>
>> >> _______________________________________________
>> >> osflash mailing list
>> >> [email protected]
>> >> http://osflash.org/mailman/listinfo/osflash_osflash.org
>> >
>> >
>> > _______________________________________________
>> > osflash mailing list
>> > [email protected]
>> > http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>>
>> _______________________________________________
>> osflash mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>
>
> --
> ::| Carlos Rovira
> ::| http://www.carlosrovira.com
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org



--
::| Carlos Rovira
::| http://www.carlosrovira.com

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to