Skip to content

Commit 835ad52

Browse files
fix(config): properly export LogLevel (#30335)
Issue number: resolves #30255 --------- ## What is the current behavior? `LogLevel` is not properly exported ## What is the new behavior? Exports `LogLevel` in core ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information Dev build: `8.5.4-dev.11743715474.1eadbd25` Co-authored-by: Brandy Smith <[email protected]>
1 parent 4317da0 commit 835ad52

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export { getTimeGivenProgression } from './utils/animation/cubic-bezier';
88
export { createGesture } from './utils/gesture';
99
export { initialize } from './global/ionic-global';
1010
export { componentOnReady } from './utils/helpers';
11+
export { LogLevel } from './utils/logging';
1112
export { isPlatform, Platforms, PlatformConfig, getPlatforms } from './utils/platform';
1213
export { IonicSafeString } from './utils/sanitization';
1314
export { IonicConfig, getMode, setupConfig } from './utils/config';

core/src/utils/logging/test/logging.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { config } from '@global/config';
2-
import { LogLevel } from '../index';
2+
import { LogLevel } from '../../../index';
33

44
import { printIonError, printIonWarning } from '../index';
55

0 commit comments

Comments
 (0)