File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -574,6 +574,7 @@ export default class BackgroundGeolocation {
574574 * Fetch the entire contents of log database returned as a String
575575 */
576576 static getLog ( success , failure ) {
577+ console . warn ( '[' + TAG + ' getLog] Deprecated. Use BackgroundGeolocation.logger.getLog' ) ;
577578 if ( ! arguments . length ) {
578579 return Logger . getLog ( ) ;
579580 } else {
@@ -584,6 +585,7 @@ export default class BackgroundGeolocation {
584585 * Destroy all contents of log database
585586 */
586587 static destroyLog ( success , failure ) {
588+ console . warn ( '[' + TAG + ' destroyLog] Deprecated. Use BackgroundGeolocation.logger.destroyLog' ) ;
587589 if ( ! arguments . length ) {
588590 return Logger . destroyLog ( ) ;
589591 } else {
@@ -594,6 +596,7 @@ export default class BackgroundGeolocation {
594596 * Open deafult email client on device to email the contents of log database attached as a compressed file attachement
595597 */
596598 static emailLog ( email , success , failure ) {
599+ console . warn ( '[' + TAG + ' emailLog] Deprecated. Use BackgroundGeolocation.logger.emailLog' ) ;
597600 if ( typeof ( email ) != 'string' ) { throw TAG + "#emailLog requires an email address as 1st argument" }
598601 if ( arguments . length == 1 ) {
599602 return Logger . emailLog ( email ) ;
You can’t perform that action at this time.
0 commit comments