New logging property!
This commit is contained in:
parent
76b1da1b1c
commit
6b9bf1b70f
@ -32,6 +32,7 @@ class UWServer {
|
|||||||
async setup() {
|
async setup() {
|
||||||
// logger is the first thing that goes up
|
// logger is the first thing that goes up
|
||||||
this.logger = new Logger({
|
this.logger = new Logger({
|
||||||
|
allowLogging: true,
|
||||||
logToFile: false,
|
logToFile: false,
|
||||||
logToConsole: true,
|
logToConsole: true,
|
||||||
logAll: true,
|
logAll: true,
|
||||||
|
@ -43,6 +43,7 @@ class UW {
|
|||||||
try {
|
try {
|
||||||
if (!this.logger) {
|
if (!this.logger) {
|
||||||
const loggingOptions = {
|
const loggingOptions = {
|
||||||
|
allowLogging: true,
|
||||||
logToFile: false,
|
logToFile: false,
|
||||||
logToConsole: false,
|
logToConsole: false,
|
||||||
fileOptions: {
|
fileOptions: {
|
||||||
|
@ -146,6 +146,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async created () {
|
async created () {
|
||||||
this.logger = new Logger({
|
this.logger = new Logger({
|
||||||
|
allowLogging: true,
|
||||||
logToFile: false,
|
logToFile: false,
|
||||||
logToConsole: false
|
logToConsole: false
|
||||||
});
|
});
|
||||||
|
@ -206,6 +206,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.logger = new Logger({
|
this.logger = new Logger({
|
||||||
|
allowLogging: true,
|
||||||
logToFile: false,
|
logToFile: false,
|
||||||
logToConsole: false
|
logToConsole: false
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user