Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6700623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:50:12+00:00 2026-05-26T06:50:12+00:00

i try everything to get the LogProcessor for Swiz to run. Here are the

  • 0

i try everything to get the LogProcessor for Swiz to run.
Here are the project Foomonger.
I fear however, the ressources refer to an old version of swiz.

I want to implement the LogProceccor without the SwizLoggerConfig, because i need only the possibility to log some informations to thunderbolt. i need no further configuration. After that i start to write my own AbstractSwizLoggingTarget.

If i copy the class into my environment, i get the follow error:
TypeError: Error #1034: Typumwandlung fehlgeschlagen: org.swizframework.utils.logging::SwizLogger@e8aa8b1 kann nicht in mx.logging.ILogger umgewandelt werden.
(Sorry for the german text)

Der Quelltext:

package de.axurit.util
{
    import org.swizframework.core.Bean;
    import org.swizframework.processors.BaseMetadataProcessor;
    import org.swizframework.processors.ProcessorPriority;
    import org.swizframework.reflection.IMetadataTag;
    import org.swizframework.utils.logging.SwizLogger;
    
    public class LoggerProcessor extends BaseMetadataProcessor
    {
        
        protected static const LOGGER:String = "Logger";
        
        public function LoggerProcessor()
        {
            super([LOGGER]);
        }
        
        override public function get priority():int
        {
            return ProcessorPriority.INJECT +1;
        }
        
        override public function setUpMetadataTag(metadataTag:IMetadataTag, bean:Bean):void
        {
            var logger:SwizLogger = SwizLogger.getLogger(bean.source);
            bean.source[metadataTag.host.name] = logger; //here occurs the error
        }
        
        override public function tearDownMetadataTag(metadataTag:IMetadataTag, bean:Bean):void
        {
            bean.source[metadataTag.host.name] = null;
        }
        
        
    }
}

Can anyone help me how to create an own MetadataProcessor for central logging (not debuggin) in Swiz. I you need more code, let me know that

Thank you
Frank

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:50:13+00:00Added an answer on May 26, 2026 at 6:50 am

    It was a long, hard journey. Here is teh result:

    package de.axurit.util
    {
        import org.swizframework.core.Bean;
        import org.swizframework.processors.BaseMetadataProcessor;
        import org.swizframework.reflection.IMetadataTag;
        import org.swizframework.utils.logging.SwizLogger;
    
        public class LoggerProcessor extends BaseMetadataProcessor
        {
            public function LoggerProcessor()
            {
                super(["Log"]);
            }
    
            override public function setUpMetadataTag(metadataTag:IMetadataTag, bean:Bean):void
            {
                super.setUpMetadataTag(metadataTag, bean);
                bean.source [metadataTag.host.name] = SwizLogger.getLogger(bean.source);
            }
    
            override public function tearDownMetadataTag(metadataTag:IMetadataTag, bean:Bean):void
            {
                super.tearDownMetadataTag(metadataTag,bean);
                bean.source[metadataTag.host.name] = null;
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Try as I might, I can't get a JNLP file to run locally (via
When I try to run this page (video.php), I get the following error: Parse
Has anyone been able to get uploadify to work with codeigniter? Everything I try
Until yesterday everything was normal but today i try to lauch my application using
When I try to start Firefox using Process.Start and ProcessStartInfo (.NET) everything seems to
When I call this function, everything works, as long as I don't try to
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error
Try as I might I cannot get my head around what the IteratorIterator class
I have been trying pretty much everything to get my live wallpaper to stop
I have a multi-line string like this: ...Togo...Togo...Togo...ACTIVE... I want to get everything between

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.