mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 18:56:38 +00:00
only send errors back to server
This commit is contained in:
@@ -18,12 +18,12 @@ export function initRemoteSender(eventBus: EventBus) {
|
||||
|
||||
consolex.log = (...args: any[]): void => {
|
||||
console.log(...args);
|
||||
eventBus.emit(new SendLogEvent(LogSeverity.Info, args.join(' ')))
|
||||
// eventBus.emit(new SendLogEvent(LogSeverity.Info, args.join(' ')))
|
||||
}
|
||||
|
||||
consolex.warn = (...args: any[]): void => {
|
||||
console.warn(...args);
|
||||
eventBus.emit(new SendLogEvent(LogSeverity.Warn, args.join(' ')))
|
||||
// eventBus.emit(new SendLogEvent(LogSeverity.Warn, args.join(' ')))
|
||||
}
|
||||
|
||||
consolex.error = (...args: any[]): void => {
|
||||
|
||||
Reference in New Issue
Block a user