Skip to content

Commit

Permalink
chore: Add method to log panic
Browse files Browse the repository at this point in the history
refs #144
  • Loading branch information
nesium committed Sep 12, 2024
1 parent 1a621ef commit ed7d181
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/broker/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ class BrokerLogger implements ProseLogger {
logError(message: string): void {
UtilitiesRuntime.requestLog(RuntimeLogLevel.Error, message);
}

logPanic(message: string): void {
UtilitiesRuntime.requestLog(RuntimeLogLevel.Error, message);
}
}

/**************************************************************************
Expand Down

0 comments on commit ed7d181

Please sign in to comment.