Skip to content

Commit ba7d39d

Browse files
committed
Added captureConsoleMinimumLevel to options in typescript mappings
1 parent 77e6de5 commit ba7d39d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

typescript/elmahio.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ declare namespace Elmahio {
8383
* Implement the 'filter' function to be able to ignore messages before they are logged to elmah.io.
8484
*/
8585
filter?(message: Elmahio.Message): boolean;
86+
/**
87+
* Log console.debug, console.info, console.warn, and console.error to elmah.io.
88+
* Can have one of the following values: 'none', 'debug', 'info', 'warn', 'error'. Default is 'none'.
89+
*/
90+
captureConsoleMinimumLevel?: string;
8691
}
8792

8893
interface Item {

0 commit comments

Comments
 (0)