Skip to content

Commit

Permalink
Merge pull request mempool#2075 from mempool/simon/logger-lightning
Browse files Browse the repository at this point in the history
Add lightning to logger
  • Loading branch information
wiz authored Jul 11, 2022
2 parents 929a4b9 + ca86364 commit fd35c8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ class Logger {
}

private getNetwork(): string {
if (config.LIGHTNING.ENABLED) {
return 'lightning';
}
if (config.BISQ.ENABLED) {
return 'bisq';
}
Expand Down

0 comments on commit fd35c8f

Please sign in to comment.