Skip to content

Commit

Permalink
docs: add tsdoc to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfrosty committed Feb 27, 2025
1 parent a9c60fa commit 3ccb9fc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/gill/src/core/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@ const GILL_LOG_LEVELS: Record<LogLevel, number> = {
};

declare global {
var __GILL_DEBUG__: LogLevel | boolean | undefined;
/**
* Whether or not to enable debug mode. When enabled, default log level of `info`
*/
var __GILL_DEBUG__: boolean | undefined;
/**
* Set the a desired level of logs to be output in the application
*
* - Default: `info`
* - Options: `debug` | `info` | `warn` | `error`
*/
var __GILL_DEBUG_LEVEL__: LogLevel | undefined;
}

Expand Down

0 comments on commit 3ccb9fc

Please sign in to comment.