CapacitorJS - basic logging plugin