Hi Sayed

On 2012.08.09 11:12, Sayed Arian Kooshesh wrote:
can you capture stdout and stderr and redirect them somewhere?
stdout (Console.Write*) only. I need to see Console.Error.
I have pulled code from our library and made quick solution WF (TextBox) and MA(EditText) samples work. I had no time for WPF, MT and for WP I need to make app trusted in order to use
Console.SetOut...

sample:
https://github.com/moljac/MonoMobile.LoggingConsole

cheers

mel



On Thu, Aug 9, 2012 at 4:01 AM, Miljenko Cvjetko <[email protected] <mailto:[email protected]>> wrote:

    Hi

    On 2012.08.09 10 <tel:2012.08.09%2010>:49, g pe wrote:
    Pretty wise. But I am not sure if  it can be avoided for code
    targeting multiple platforms.
    The great thing is: it **can** be avoided - simple c# compiler
    (and project) stuff.

    Our port of SharpSNMP has !SILVERLIGHT only in WP project, cos I
    didn't have enough time to do it properly and
    was blocking other guys. WP is currently low on prio scale for us...


    cheers

    mel


    On Thu, Aug 9, 2012 at 10:43 AM, Miljenko Cvjetko
    <[email protected] <mailto:[email protected]>> wrote:

        Hi


        On 2012.08.09 10 <tel:2012.08.09%2010>:35, g pe wrote:
        Have you checked this patch
        https://issues.apache.org/jira/browse/LOG4NET-338?
        No I havent. Honestly, we are trying to stay away from
        preprocessor (#ifs), the next is
        You gonna need #MONOTOUCH etc... Makes code a lot more
        difficult to read...

        cheers

        mel



        On Thu, Aug 9, 2012 at 10:31 AM, Miljenko Cvjetko
        <[email protected]
        <mailto:[email protected]>> wrote:

            Hi

            Few weeks ago, after finishing SharpSNMP (quick and
            dirty port), I did analysis for log4net and entlib.
            We use log4net on some projects and entlib is foundation
            of Composite C1 CMS system that we use a lot
            and would like to see that on mono.
            For entlib I just took a glance, so no details, but for
            log4net is following (take a look at their defines).

              * WP
                167 errors (I will skip details)
                  o System.Collections.ArrayList
                  o XmlSerialization (allways)
                  o + a lot more
              * MA (should be similar for MT)
                33 errors
                  o System.Web
                      + namespace
                      + HttpContext
                  o MailPriority (System.Web.Mail vs System.Net.Mail)
                  o System.Data (ADO.net)
                  o System.IO (FileSystemWatcher,
                    FileSystemEventHandlers)

            So to split everything up and patch we have estimated
            3-5 man days and decided to do it in September/October.
            Right now have not enought time to do it...

            cheers

            mel


            MA compile errors

            The type or namespace name 'Web' does not exist in the
            namespace 'System' (are you missing an assembly reference?)

            The type or namespace name 'RenamedEventArgs' could not
            be found (are you missing a using directive or an
            assembly reference?)
            The type or namespace name 'MailPriority' could not be
            found (are you missing a using directive or an assembly
            reference?)

            The type or namespace name 'IDbTransaction' could not be
            found (are you missing a using directive or an assembly
            reference?)
            The type or namespace name 'IDbConnection' could not be
            found (are you missing a using directive or an assembly
            reference?)
            The type or namespace name 'IDbCommand' could not be
            found (are you missing a using directive or an assembly
            reference?)

            The type or namespace name
            'IConfigurationSectionHandler' could not be found (are
            you missing a using directive or an assembly reference?)

            The type or namespace name 'HttpContext' could not be
            found (are you missing a using directive or an assembly
            reference?)

            The type or namespace name 'FileSystemWatcher' could not
            be found (are you missing a using directive or an
            assembly reference?)
            The type or namespace name 'FileSystemEventArgs' could
            not be found (are you missing a using directive or an
            assembly reference?)
            The type or namespace name 'EventLogEntryType' could not
            be found (are you missing a using directive or an
            assembly reference?)
            The type or namespace name 'DbType' could not be found
            (are you missing a using directive or an assembly
            reference?)


            The type or namespace name 'Data' does not exist in the
            namespace 'System' (are you missing an assembly reference?)
            The type or namespace name 'ConfigurationSettings' does
            not exist in the namespace 'System.Configuration' (are
            you missing an assembly reference?)
            The type or namespace name 'ConfigurationException' does
            not exist in the namespace 'System.Configuration' (are
            you missing an assembly reference?)
            The type or namespace name 'CommandType' could not be
            found (are you missing a using directive or an assembly
            reference?)
            The name 'SmtpMail' does not exist in the current context
            The name 'NotifyFilters' does not exist in the current
            context
            The name 'HttpRuntime' does not exist in the current
            context
            Property or indexer 'System.Net.Mail.MailMessage.To
            <http://System.Net.Mail.MailMessage.To>' cannot be
            assigned to -- it is read only
            Property or indexer 'System.Net.Mail.MailMessage.Bcc'
            cannot be assigned to -- it is read only
            Cannot implicitly convert type 'string' to
            'System.Net.Mail.MailAddressCollection'
            Cannot implicitly convert type 'string' to
            'System.Net.Mail.MailAddress'
            'System.Net.Mail.MailMessage' does not contain a
            definition for 'Cc' and no extension method 'Cc'
            accepting a first argument of type
            'System.Net.Mail.MailMessage' could be found (are you
            missing a using directive or an assembly reference?)
            'log4net.Config.RenamedEventHandler' does not contain a
            constructor that takes 1 arguments
            'log4net.Config.RenamedEventArgs' does not contain a
            definition for 'ChangeType' and no extension method
            'ChangeType' accepting a first argument of type
            'log4net.Config.RenamedEventArgs' could be found (are
            you missing a using directive or an assembly reference?)
            'log4net.Appender.AdoNetAppenderParameter.DbType' is a
            'property' but is used like a 'type'
            'log4net.Appender.AdoNetAppender.CommandType' is a
            'property' but is used like a 'type'





            On 2012.08.08 16 <tel:2012.08.08%2016>:58, g pe wrote:
            Hi everybody,

            Which logging system do you use. Is it worth developing
            some TraceListener or are there library already working
            on monodroid and monotouch(log4net)?

            The TraceListener approach seems to work on windows and
            Android but I didn't have a chance to make log4net run
            on Android yet. Therefore, before going further, I
            would like to know about your experience(s).


            _______________________________________________
            Monodroid mailing list
            [email protected]  <mailto:[email protected]>

            UNSUBSCRIBE INFORMATION:
            http://lists.ximian.com/mailman/listinfo/monodroid


-- Miljenko Cvjetko dipl.ing. ET
                Direktor/CEO
                Projektant rješenja/Solution Architect  
                Razvojni programer/Senior developer
                Voditelj projekta/Project Manager

            IX južna obala 13
            Kajzerica Zagreb
            T: 385 1 7775555
            M: 385 91 557 447 3
            F: 385 1 7779556
            e:[email protected]  <mailto:[email protected]>
            w:http://www.holisticware.net




        _______________________________________________
        Monodroid mailing list
        [email protected]  <mailto:[email protected]>

        UNSUBSCRIBE INFORMATION:
        http://lists.ximian.com/mailman/listinfo/monodroid


-- Miljenko Cvjetko dipl.ing. ET
                Direktor/CEO
                Projektant rješenja/Solution Architect  
                Razvojni programer/Senior developer
                Voditelj projekta/Project Manager

        IX južna obala 13
        Kajzerica Zagreb
        T: 385 1 7775555
        M: 385 91 557 447 3
        F: 385 1 7779556
        e:[email protected]  <mailto:[email protected]>
        w:http://www.holisticware.net




-- Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

    IX južna obala 13
    Kajzerica Zagreb
    T: 385 1 7775555
    M: 385 91 557 447 3
    F: 385 1 7779556
    e:[email protected]  <mailto:[email protected]>
    w:http://www.holisticware.net


    _______________________________________________
    Monodroid mailing list
    [email protected] <mailto:[email protected]>

    UNSUBSCRIBE INFORMATION:
    http://lists.ximian.com/mailman/listinfo/monodroid




--
Extreme Knowledge is not something for which he programs a computer but for which his computer is programming him.

-Wozniak


--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://www.holisticware.net

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to