extended logging in api
This commit is contained in:
parent
2e5d6b33b1
commit
dcef9bbeb2
1 changed files with 3 additions and 2 deletions
|
|
@ -44,7 +44,8 @@ class PlejdApi extends EventEmitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
login() {
|
login() {
|
||||||
logger('login()');
|
console.log('plejd-api: login()');
|
||||||
|
console.log('logging into ' + this.siteName);
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
const instance = axios.create({
|
const instance = axios.create({
|
||||||
|
|
@ -79,7 +80,7 @@ class PlejdApi extends EventEmitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
getCryptoKey(callback) {
|
getCryptoKey(callback) {
|
||||||
logger('getCryptoKey()');
|
console.log('plejd-api: getCryptoKey()');
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
const instance = axios.create({
|
const instance = axios.create({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue