Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-338

Port of log4net for MonoDroid

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.11
    • None
    • Appenders, Builds
    • Mono for Android

    Description

      Hi

      I've made a port of log4net to MonoDroid (Mono for Android).

      Summary of changes:

      • based on trunk rev 1343667
      • code altered by "#if MONODROID"
      • added log4net.monodroid.vs2010.csproj and log4net.monodroid.vs2010.sln
      • added AndroidLogAppender
      • ConfigureAndWatchHandler based on native FileObserver
      • minor ndoc changes

      Build:

      • install Mono for Android
      • get log4net source (see code version above)
      • apply patch
      • open solution in Visual Studio (note: NAnt doesn't support Mono for Android framework)
      • build

      Tests:

      • Unit tests based on NUnitLite. See tests\README.monodroid.txt file?
      • Tested on emulator API 14 only with Win 7 and VS2010. Works well in my application.
      • I've made regression tests running net-4.0 tests with nant before and after patching. Results are same.

      I donate this patch to public.

      Best regards
      WD

      Attachments

        1. monodroid-on1343667.patch.zip
          23 kB
          Wojciech Dec

        Activity

          People

            Unassigned Unassigned
            wdec Wojciech Dec
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: