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 {
574
574
* Fetch the entire contents of log database returned as a String
575
575
*/
576
576
static getLog ( success , failure ) {
577
+ console . warn ( '[' + TAG + ' getLog] Deprecated. Use BackgroundGeolocation.logger.getLog' ) ;
577
578
if ( ! arguments . length ) {
578
579
return Logger . getLog ( ) ;
579
580
} else {
@@ -584,6 +585,7 @@ export default class BackgroundGeolocation {
584
585
* Destroy all contents of log database
585
586
*/
586
587
static destroyLog ( success , failure ) {
588
+ console . warn ( '[' + TAG + ' destroyLog] Deprecated. Use BackgroundGeolocation.logger.destroyLog' ) ;
587
589
if ( ! arguments . length ) {
588
590
return Logger . destroyLog ( ) ;
589
591
} else {
@@ -594,6 +596,7 @@ export default class BackgroundGeolocation {
594
596
* Open deafult email client on device to email the contents of log database attached as a compressed file attachement
595
597
*/
596
598
static emailLog ( email , success , failure ) {
599
+ console . warn ( '[' + TAG + ' emailLog] Deprecated. Use BackgroundGeolocation.logger.emailLog' ) ;
597
600
if ( typeof ( email ) != 'string' ) { throw TAG + "#emailLog requires an email address as 1st argument" }
598
601
if ( arguments . length == 1 ) {
599
602
return Logger . emailLog ( email ) ;
You can’t perform that action at this time.
0 commit comments