arnaucube
arnaucube/commonroutesServerPublic Self-hosted repository
commonroutesServer/www/plugins/cordova-plugin-console/doc/fr/README.md
www/plugins/cordova-plugin-console/doc/fr/README.mdRaw
 1<!---
 2# license: Licensed to the Apache Software Foundation (ASF) under one
 3#         or more contributor license agreements.  See the NOTICE file
 4#         distributed with this work for additional information
 5#         regarding copyright ownership.  The ASF licenses this file
 6#         to you under the Apache License, Version 2.0 (the
 7#         "License"); you may not use this file except in compliance
 8#         with the License.  You may obtain a copy of the License at
 9#
10#           http://www.apache.org/licenses/LICENSE-2.0
11#
12#         Unless required by applicable law or agreed to in writing,
13#         software distributed under the License is distributed on an
14#         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15#         KIND, either express or implied.  See the License for the
16#         specific language governing permissions and limitations
17#         under the License.
18-->
19
20# cordova-plugin-console
21
22[![Build Status](https://travis-ci.org/apache/cordova-plugin-console.svg)](https://travis-ci.org/apache/cordova-plugin-console)
23
24Ce plugin est destiné à faire en sorte que console.log() est aussi utile que possible. Il ajoute une fonction supplémentaire pour iOS, Ubuntu, Windows Phone 8 et Windows. Si vous êtes satisfait du fonctionnement de console.log() pour vous, alors vous avez probablement pas besoin ce plugin.
25
26Ce plugin définit un global `console` objet.
27
28Bien que l'objet est dans la portée globale, les fonctions offertes par ce plugin ne sont pas disponibles jusqu'après la `deviceready` événement.
29
30    document.addEventListener (« deviceready », onDeviceReady, false) ;
31    function onDeviceReady() {console.log ("console.log fonctionne bien");}
32    
33
34## Installation
35
36    cordova plugin add cordova-plugin-console
37    
38
39### Quirks Android
40
41Sur certaines plateformes autres que Android, console.log() va agir sur plusieurs arguments, tels que console.log ("1", "2", "3"). Toutefois, Android doit agir uniquement sur le premier argument. Les arguments suivants à console.log() seront ignorées. Ce plugin n'est pas la cause de cela, il s'agit d'une limitation d'Android lui-même.