Ignore:
Timestamp:
2020-12-05T17:34:39+01:00 (4 years ago)
Author:
Don-vip
Message:

see #20205 - initiate native log system in JNA plugin

Location:
applications/editors/josm/plugins/jna/src/org/openstreetmap/josm/plugins/jna
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/jna/src/org/openstreetmap/josm/plugins/jna/JNAPlugin.java

    r32530 r35659  
    44import org.openstreetmap.josm.plugins.Plugin;
    55import org.openstreetmap.josm.plugins.PluginInformation;
     6import org.openstreetmap.josm.plugins.jna.mac.JosmMacNativeLogHandler;
     7import org.openstreetmap.josm.tools.Logging;
     8import org.openstreetmap.josm.tools.PlatformManager;
    69
    710/**
     
    1518    public JNAPlugin(PluginInformation info) {
    1619        super(info);
     20        if (PlatformManager.isPlatformOsx()) {
     21            Logging.getLogger().addHandler(new JosmMacNativeLogHandler());
     22        }
    1723    }
    1824}
Note: See TracChangeset for help on using the changeset viewer.