Re: [mono-android] Logging system

2012-08-10 Thread Sayed Arian Kooshesh
can you capture stdout and stderr and redirect them somewhere? On Thu, Aug 9, 2012 at 4:01 AM, Miljenko Cvjetko wrote: > Hi > > On 2012.08.09 10: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

Re: [mono-android] Logging system

2012-08-09 Thread Miljenko Cvjetko
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 t

Re: [mono-android] Logging system

2012-08-09 Thread Miljenko Cvjetko
Hi On 2012.08.09 10: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 enou

Re: [mono-android] Logging system

2012-08-09 Thread g pe
Pretty wise. But I am not sure if it can be avoided for code targeting multiple platforms. On Thu, Aug 9, 2012 at 10:43 AM, Miljenko Cvjetko wrote: > Hi > > > On 2012.08.09 10:35, g pe wrote: > > Have you checked this patch > https://issues.apache.org/jira/browse/LOG4NET-338 ? > > No I haven

Re: [mono-android] Logging system

2012-08-09 Thread Miljenko Cvjetko
Hi On 2012.08.09 10: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

Re: [mono-android] Logging system

2012-08-09 Thread g pe
Have you checked this patch https://issues.apache.org/jira/browse/LOG4NET-338 ? On Thu, Aug 9, 2012 at 10:31 AM, Miljenko Cvjetko 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 entl

Re: [mono-android] Logging system

2012-08-09 Thread Miljenko Cvjetko
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, b

[mono-android] Logging system

2012-08-08 Thread g pe
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. Therefo