File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -575,19 +575,19 @@ export default class BackgroundGeolocation {
575575 */
576576 static getLog ( success , failure ) {
577577 if ( ! arguments . length ) {
578- return NativeModule . getLog ( ) ;
578+ return Logger . getLog ( ) ;
579579 } else {
580- NativeModule . getLog ( ) . then ( success ) . catch ( failure ) ;
580+ Logger . getLog ( ) . then ( success ) . catch ( failure ) ;
581581 }
582582 }
583583 /**
584584 * Destroy all contents of log database
585585 */
586586 static destroyLog ( success , failure ) {
587587 if ( ! arguments . length ) {
588- return NativeModule . destroyLog ( ) ;
588+ return Logger . destroyLog ( ) ;
589589 } else {
590- NativeModule . destroyLog ( ) . then ( success ) . catch ( failure ) ;
590+ Logger . destroyLog ( ) . then ( success ) . catch ( failure ) ;
591591 }
592592 }
593593 /**
@@ -596,9 +596,9 @@ export default class BackgroundGeolocation {
596596 static emailLog ( email , success , failure ) {
597597 if ( typeof ( email ) != 'string' ) { throw TAG + "#emailLog requires an email address as 1st argument" }
598598 if ( arguments . length == 1 ) {
599- return NativeModule . emailLog ( email ) ;
599+ return Logger . emailLog ( email ) ;
600600 } else {
601- NativeModule . emailLog ( email ) . then ( success ) . catch ( failure ) ;
601+ Logger . emailLog ( email ) . then ( success ) . catch ( failure ) ;
602602 }
603603 }
604604 /**
You can’t perform that action at this time.
0 commit comments