File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## 6.7.1 - unreleased
44
55- Make "Configuration changed" log debug-level instead of info-level ([ #625 (comment)] ( https://github.com/mark-wiemer/ahkpp/issues/625#issuecomment-2772599772 ) )
6+ - Remove "Invalid setting" log if ` logLevel ` setting was not found ([ #644 ] ( https://github.com/mark-wiemer/ahkpp/issues/644 ) )
67
78## 6.7.0 - 2025-04-01 🤡
89
Original file line number Diff line number Diff line change @@ -46,16 +46,10 @@ export const critical = (value: Error | string) =>
4646
4747/**
4848 * Logs message if provided log level is valid for configured log level.
49- * Logs warning if configured log level is invalid.
5049 */
5150const log = ( value : Error | string , thisLevel : LogLevel ) => {
5251 const configLevel : LogLevel | undefined = logLevelRecord [ configLevelStr ] ;
53- if ( configLevel === undefined ) {
54- logInner ( `Invalid setting AHK++.general.logLevel: "${ configLevelStr } "` ) ;
55- getOutputChannel ( ) . show ( false ) ;
56- return ;
57- }
58- if ( configLevel === LogLevel . None ) {
52+ if ( configLevel === undefined || configLevel === LogLevel . None ) {
5953 return ;
6054 }
6155 if ( thisLevel >= configLevel ) {
You can’t perform that action at this time.
0 commit comments