@mks2508/better-logger 0.14.0-alpha.2 → 0.18.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/README.md +50 -244
  2. package/dist/Logger.d.ts +662 -202
  3. package/dist/Logger.d.ts.map +1 -1
  4. package/dist/ScopedLogger.d.ts +434 -175
  5. package/dist/ScopedLogger.d.ts.map +1 -1
  6. package/dist/chunks/HookBridge-C-AvXmPD.cjs +504 -0
  7. package/dist/chunks/HookBridge-C-AvXmPD.cjs.map +1 -0
  8. package/dist/chunks/HookBridge-CI2PH79S.js +487 -0
  9. package/dist/chunks/HookBridge-CI2PH79S.js.map +1 -0
  10. package/dist/chunks/LogContext-BaMXleWj.cjs +105 -0
  11. package/dist/chunks/LogContext-BaMXleWj.cjs.map +1 -0
  12. package/dist/chunks/LogContext-DjlITOzZ.js +100 -0
  13. package/dist/chunks/LogContext-DjlITOzZ.js.map +1 -0
  14. package/dist/chunks/SerializerBridge-Ba43Mk7j.js +393 -0
  15. package/dist/chunks/SerializerBridge-Ba43Mk7j.js.map +1 -0
  16. package/dist/chunks/SerializerBridge-C4a9Z37F.cjs +410 -0
  17. package/dist/chunks/SerializerBridge-C4a9Z37F.cjs.map +1 -0
  18. package/dist/chunks/StyleManager-DQ6UNRB-.cjs +118 -0
  19. package/dist/chunks/StyleManager-DQ6UNRB-.cjs.map +1 -0
  20. package/dist/chunks/StyleManager-DjwAYbxE.js +113 -0
  21. package/dist/chunks/StyleManager-DjwAYbxE.js.map +1 -0
  22. package/dist/chunks/core-Blfi2klP.js +31 -0
  23. package/dist/chunks/core-Blfi2klP.js.map +1 -0
  24. package/dist/chunks/core-CqS_UBzJ.cjs +36 -0
  25. package/dist/chunks/core-CqS_UBzJ.cjs.map +1 -0
  26. package/dist/chunks/environment-detector-7NvnYUfr.js +110 -0
  27. package/dist/chunks/environment-detector-7NvnYUfr.js.map +1 -0
  28. package/dist/chunks/environment-detector-D-tHkKWA.cjs +163 -0
  29. package/dist/chunks/environment-detector-D-tHkKWA.cjs.map +1 -0
  30. package/dist/chunks/server-fallback-CaCPjWby.cjs +119 -0
  31. package/dist/chunks/server-fallback-CaCPjWby.cjs.map +1 -0
  32. package/dist/chunks/server-fallback-jj0T6XaK.js +114 -0
  33. package/dist/chunks/server-fallback-jj0T6XaK.js.map +1 -0
  34. package/dist/chunks/spinner-BHyYEXsM.cjs +1029 -0
  35. package/dist/chunks/spinner-BHyYEXsM.cjs.map +1 -0
  36. package/dist/chunks/spinner-BtkwpzYv.js +982 -0
  37. package/dist/chunks/spinner-BtkwpzYv.js.map +1 -0
  38. package/dist/chunks/styling-CRw3KQW4.js +1592 -0
  39. package/dist/chunks/styling-CRw3KQW4.js.map +1 -0
  40. package/dist/chunks/styling-Cel2wPRy.cjs +1645 -0
  41. package/dist/chunks/styling-Cel2wPRy.cjs.map +1 -0
  42. package/dist/chunks/transports-BGfwwakw.js +1237 -0
  43. package/dist/chunks/transports-BGfwwakw.js.map +1 -0
  44. package/dist/chunks/transports-yK6CL0Ml.cjs +1278 -0
  45. package/dist/chunks/transports-yK6CL0Ml.cjs.map +1 -0
  46. package/dist/chunks/utils-W_cxqriN.cjs +705 -0
  47. package/dist/chunks/utils-W_cxqriN.cjs.map +1 -0
  48. package/dist/chunks/utils-tKfBAWUM.js +586 -0
  49. package/dist/chunks/utils-tKfBAWUM.js.map +1 -0
  50. package/dist/cli/CommandProcessor.d.ts +166 -19
  51. package/dist/cli/CommandProcessor.d.ts.map +1 -1
  52. package/dist/cli/commands/ConfigCommand.d.ts +36 -1
  53. package/dist/cli/commands/ConfigCommand.d.ts.map +1 -1
  54. package/dist/cli/commands/ExportCommand.d.ts +54 -26
  55. package/dist/cli/commands/ExportCommand.d.ts.map +1 -1
  56. package/dist/cli/commands/ThemeCommand.d.ts +62 -3
  57. package/dist/cli/commands/ThemeCommand.d.ts.map +1 -1
  58. package/dist/cli/help.d.ts +30 -2
  59. package/dist/cli/help.d.ts.map +1 -1
  60. package/dist/cli/index.d.ts +30 -4
  61. package/dist/cli/index.d.ts.map +1 -1
  62. package/dist/cli-module.d.ts +13 -0
  63. package/dist/cli-module.d.ts.map +1 -0
  64. package/dist/cli.cjs +11 -0
  65. package/dist/cli.js +3 -0
  66. package/dist/constants.d.ts +16 -47
  67. package/dist/constants.d.ts.map +1 -1
  68. package/dist/context/LogContext.d.ts +245 -0
  69. package/dist/context/LogContext.d.ts.map +1 -0
  70. package/dist/context/index.d.ts +6 -0
  71. package/dist/context/index.d.ts.map +1 -0
  72. package/dist/context-module.d.ts +6 -0
  73. package/dist/context-module.d.ts.map +1 -0
  74. package/dist/context.cjs +3 -0
  75. package/dist/context.js +2 -0
  76. package/dist/core.cjs +304 -2
  77. package/dist/core.cjs.map +1 -1
  78. package/dist/core.d.ts +56 -34
  79. package/dist/core.d.ts.map +1 -1
  80. package/dist/core.js +281 -314
  81. package/dist/core.js.map +1 -1
  82. package/dist/hooks/HookBridge.d.ts +32 -0
  83. package/dist/hooks/HookBridge.d.ts.map +1 -0
  84. package/dist/hooks/HookManager.d.ts +319 -0
  85. package/dist/hooks/HookManager.d.ts.map +1 -0
  86. package/dist/hooks/index.d.ts +7 -0
  87. package/dist/hooks/index.d.ts.map +1 -0
  88. package/dist/hooks-module.d.ts +7 -0
  89. package/dist/hooks-module.d.ts.map +1 -0
  90. package/dist/hooks.cjs +5 -0
  91. package/dist/hooks.js +2 -0
  92. package/dist/index.cjs +3402 -2
  93. package/dist/index.cjs.map +1 -1
  94. package/dist/index.d.ts +42 -130
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +3327 -158
  97. package/dist/index.js.map +1 -1
  98. package/dist/node-module.d.ts +10 -0
  99. package/dist/node-module.d.ts.map +1 -0
  100. package/dist/node.cjs +13 -0
  101. package/dist/node.cjs.map +1 -0
  102. package/dist/node.js +12 -0
  103. package/dist/node.js.map +1 -0
  104. package/dist/playground/TerminalBridge.d.ts +53 -0
  105. package/dist/playground/TerminalBridge.d.ts.map +1 -0
  106. package/dist/playground/box.d.ts +45 -0
  107. package/dist/playground/box.d.ts.map +1 -0
  108. package/dist/playground/cli-table.d.ts +50 -0
  109. package/dist/playground/cli-table.d.ts.map +1 -0
  110. package/dist/playground/divider.d.ts +29 -0
  111. package/dist/playground/divider.d.ts.map +1 -0
  112. package/dist/playground/header.d.ts +28 -0
  113. package/dist/playground/header.d.ts.map +1 -0
  114. package/dist/playground/index.d.ts +11 -0
  115. package/dist/playground/index.d.ts.map +1 -0
  116. package/dist/playground/server-fallback.d.ts +114 -0
  117. package/dist/playground/server-fallback.d.ts.map +1 -0
  118. package/dist/playground/spinner.d.ts +197 -0
  119. package/dist/playground/spinner.d.ts.map +1 -0
  120. package/dist/playground/step.d.ts +33 -0
  121. package/dist/playground/step.d.ts.map +1 -0
  122. package/dist/playground-module.d.ts +11 -0
  123. package/dist/playground-module.d.ts.map +1 -0
  124. package/dist/playground.cjs +9 -0
  125. package/dist/playground.js +2 -0
  126. package/dist/serializers/SerializerBridge.d.ts +28 -0
  127. package/dist/serializers/SerializerBridge.d.ts.map +1 -0
  128. package/dist/serializers/SerializerRegistry.d.ts +252 -0
  129. package/dist/serializers/SerializerRegistry.d.ts.map +1 -0
  130. package/dist/serializers/index.d.ts +7 -0
  131. package/dist/serializers/index.d.ts.map +1 -0
  132. package/dist/serializers-module.d.ts +7 -0
  133. package/dist/serializers-module.d.ts.map +1 -0
  134. package/dist/serializers.cjs +5 -0
  135. package/dist/serializers.js +2 -0
  136. package/dist/styles/StyleManager.d.ts +190 -0
  137. package/dist/styles/StyleManager.d.ts.map +1 -0
  138. package/dist/styles/index.d.ts +7 -0
  139. package/dist/styles/index.d.ts.map +1 -0
  140. package/dist/styles-module.d.ts +7 -0
  141. package/dist/styles-module.d.ts.map +1 -0
  142. package/dist/styles.cjs +7 -0
  143. package/dist/styles.js +3 -0
  144. package/dist/styling/SmartPresets.d.ts +100 -6
  145. package/dist/styling/SmartPresets.d.ts.map +1 -1
  146. package/dist/styling/StyleBuilder.d.ts +453 -32
  147. package/dist/styling/StyleBuilder.d.ts.map +1 -1
  148. package/dist/styling/banners.d.ts +85 -5
  149. package/dist/styling/banners.d.ts.map +1 -1
  150. package/dist/styling/index.d.ts +8 -3
  151. package/dist/styling/index.d.ts.map +1 -1
  152. package/dist/styling/themes.d.ts +41 -2
  153. package/dist/styling/themes.d.ts.map +1 -1
  154. package/dist/terminal/color-converter.d.ts +73 -0
  155. package/dist/terminal/color-converter.d.ts.map +1 -0
  156. package/dist/terminal/formatter.d.ts +23 -0
  157. package/dist/terminal/formatter.d.ts.map +1 -0
  158. package/dist/transports/ConsoleTransport.d.ts +104 -0
  159. package/dist/transports/ConsoleTransport.d.ts.map +1 -0
  160. package/dist/transports/FileTransport.d.ts +137 -0
  161. package/dist/transports/FileTransport.d.ts.map +1 -0
  162. package/dist/transports/HttpTransport.d.ts +180 -0
  163. package/dist/transports/HttpTransport.d.ts.map +1 -0
  164. package/dist/transports/OtlpTransport.d.ts +165 -0
  165. package/dist/transports/OtlpTransport.d.ts.map +1 -0
  166. package/dist/transports/TransportBridge.d.ts +43 -0
  167. package/dist/transports/TransportBridge.d.ts.map +1 -0
  168. package/dist/transports/TransportManager.d.ts +251 -0
  169. package/dist/transports/TransportManager.d.ts.map +1 -0
  170. package/dist/transports/index.d.ts +6 -0
  171. package/dist/transports/index.d.ts.map +1 -0
  172. package/dist/transports-module.d.ts +10 -0
  173. package/dist/transports-module.d.ts.map +1 -0
  174. package/dist/transports.cjs +7 -0
  175. package/dist/transports.js +2 -0
  176. package/dist/types/core.d.ts +295 -17
  177. package/dist/types/core.d.ts.map +1 -1
  178. package/dist/types/handlers.d.ts +0 -67
  179. package/dist/types/handlers.d.ts.map +1 -1
  180. package/dist/types/hooks.d.ts +138 -0
  181. package/dist/types/hooks.d.ts.map +1 -0
  182. package/dist/types/index.d.ts +7 -3
  183. package/dist/types/index.d.ts.map +1 -1
  184. package/dist/types/serializers.d.ts +97 -0
  185. package/dist/types/serializers.d.ts.map +1 -0
  186. package/dist/types/transports.d.ts +132 -0
  187. package/dist/types/transports.d.ts.map +1 -0
  188. package/dist/utils/ansi-colors.d.ts +115 -0
  189. package/dist/utils/ansi-colors.d.ts.map +1 -0
  190. package/dist/utils/environment-detector.d.ts +53 -0
  191. package/dist/utils/environment-detector.d.ts.map +1 -0
  192. package/dist/utils/formatting.d.ts +9 -8
  193. package/dist/utils/formatting.d.ts.map +1 -1
  194. package/dist/utils/index.d.ts +3 -2
  195. package/dist/utils/index.d.ts.map +1 -1
  196. package/dist/utils/output.d.ts +14 -17
  197. package/dist/utils/output.d.ts.map +1 -1
  198. package/dist/utils/stackTrace.d.ts +2 -2
  199. package/dist/utils/stackTrace.d.ts.map +1 -1
  200. package/dist/utils/timestamps.d.ts +0 -12
  201. package/dist/utils/timestamps.d.ts.map +1 -1
  202. package/package.json +95 -21
  203. package/.claude/settings.local.json +0 -39
  204. package/.github/workflows/ci-quality.yml +0 -357
  205. package/.github/workflows/docs-demo.yml +0 -119
  206. package/.github/workflows/releases-core.yml +0 -512
  207. package/.github/workflows/releases-full.yml +0 -582
  208. package/.github/workflows-backup/ci.yml +0 -221
  209. package/.github/workflows-backup/nightly.yml +0 -196
  210. package/.github/workflows-backup/release-optimized.yml +0 -373
  211. package/.github/workflows-backup/release.yml +0 -269
  212. package/.release-notes-0.2.0.md +0 -129
  213. package/.yamllint +0 -28
  214. package/CHANGELOG.json +0 -865
  215. package/CLAUDE.md +0 -204
  216. package/bun.lock +0 -323
  217. package/demo.html +0 -847
  218. package/dist/.tsbuildinfo +0 -1
  219. package/dist/Logger.js +0 -1124
  220. package/dist/ScopedLogger.js +0 -426
  221. package/dist/chunks/Logger-Crw1woqR.js +0 -3464
  222. package/dist/chunks/Logger-Crw1woqR.js.map +0 -1
  223. package/dist/chunks/Logger-D_p3xnbq.js +0 -2
  224. package/dist/chunks/Logger-D_p3xnbq.js.map +0 -1
  225. package/dist/chunks/RemoteLogHandler-CjWpWZGl.js +0 -33
  226. package/dist/chunks/RemoteLogHandler-CjWpWZGl.js.map +0 -1
  227. package/dist/chunks/RemoteLogHandler-ymkQ97xl.js +0 -2
  228. package/dist/chunks/RemoteLogHandler-ymkQ97xl.js.map +0 -1
  229. package/dist/chunks/environment-Bxbnw4pd.js +0 -544
  230. package/dist/chunks/environment-Bxbnw4pd.js.map +0 -1
  231. package/dist/chunks/environment-Dm66zOML.js +0 -4
  232. package/dist/chunks/environment-Dm66zOML.js.map +0 -1
  233. package/dist/chunks/formatting-C0riPC5_.js +0 -95
  234. package/dist/chunks/formatting-C0riPC5_.js.map +0 -1
  235. package/dist/chunks/formatting-DNCAV66-.js +0 -2
  236. package/dist/chunks/formatting-DNCAV66-.js.map +0 -1
  237. package/dist/cli/CommandProcessor.js +0 -184
  238. package/dist/cli/commands/ConfigCommand.js +0 -88
  239. package/dist/cli/commands/ExportCommand.js +0 -243
  240. package/dist/cli/commands/HistoryCommand.d.ts +0 -50
  241. package/dist/cli/commands/HistoryCommand.d.ts.map +0 -1
  242. package/dist/cli/commands/HistoryCommand.js +0 -96
  243. package/dist/cli/commands/StatusCommand.d.ts +0 -33
  244. package/dist/cli/commands/StatusCommand.d.ts.map +0 -1
  245. package/dist/cli/commands/StatusCommand.js +0 -93
  246. package/dist/cli/commands/ThemeCommand.js +0 -79
  247. package/dist/cli/help.js +0 -118
  248. package/dist/cli/index.js +0 -46
  249. package/dist/constants.js +0 -159
  250. package/dist/example.d.ts +0 -18
  251. package/dist/example.d.ts.map +0 -1
  252. package/dist/example.js +0 -154
  253. package/dist/exports-module.d.ts +0 -203
  254. package/dist/exports-module.d.ts.map +0 -1
  255. package/dist/exports-module.js +0 -260
  256. package/dist/exports.cjs +0 -2
  257. package/dist/exports.cjs.map +0 -1
  258. package/dist/exports.js +0 -238
  259. package/dist/exports.js.map +0 -1
  260. package/dist/handlers/AnalyticsLogHandler.d.ts +0 -11
  261. package/dist/handlers/AnalyticsLogHandler.d.ts.map +0 -1
  262. package/dist/handlers/AnalyticsLogHandler.js +0 -19
  263. package/dist/handlers/ExportLogHandler.d.ts +0 -103
  264. package/dist/handlers/ExportLogHandler.d.ts.map +0 -1
  265. package/dist/handlers/ExportLogHandler.js +0 -516
  266. package/dist/handlers/FileLogHandler.d.ts +0 -36
  267. package/dist/handlers/FileLogHandler.d.ts.map +0 -1
  268. package/dist/handlers/FileLogHandler.js +0 -156
  269. package/dist/handlers/RemoteLogHandler.d.ts +0 -14
  270. package/dist/handlers/RemoteLogHandler.d.ts.map +0 -1
  271. package/dist/handlers/RemoteLogHandler.js +0 -37
  272. package/dist/handlers/index.d.ts +0 -8
  273. package/dist/handlers/index.d.ts.map +0 -1
  274. package/dist/handlers/index.js +0 -7
  275. package/dist/main.d.ts +0 -2
  276. package/dist/main.d.ts.map +0 -1
  277. package/dist/main.js +0 -139
  278. package/dist/styling/LogStyleBuilder.d.ts +0 -149
  279. package/dist/styling/LogStyleBuilder.d.ts.map +0 -1
  280. package/dist/styling/LogStyleBuilder.js +0 -289
  281. package/dist/styling/SemanticStyles.d.ts +0 -181
  282. package/dist/styling/SemanticStyles.d.ts.map +0 -1
  283. package/dist/styling/SemanticStyles.js +0 -339
  284. package/dist/styling/SmartPresets.js +0 -276
  285. package/dist/styling/StyleBuilder.js +0 -280
  286. package/dist/styling/banners.js +0 -155
  287. package/dist/styling/index.js +0 -9
  288. package/dist/styling/themes.js +0 -231
  289. package/dist/styling-module.d.ts +0 -185
  290. package/dist/styling-module.d.ts.map +0 -1
  291. package/dist/styling-module.js +0 -199
  292. package/dist/styling.cjs +0 -2
  293. package/dist/styling.cjs.map +0 -1
  294. package/dist/styling.js +0 -146
  295. package/dist/styling.js.map +0 -1
  296. package/dist/types/Logger.d.ts +0 -700
  297. package/dist/types/Logger.d.ts.map +0 -1
  298. package/dist/types/ScopedLogger.d.ts +0 -310
  299. package/dist/types/ScopedLogger.d.ts.map +0 -1
  300. package/dist/types/cli/CommandProcessor.d.ts +0 -100
  301. package/dist/types/cli/CommandProcessor.d.ts.map +0 -1
  302. package/dist/types/cli/commands/ConfigCommand.d.ts +0 -14
  303. package/dist/types/cli/commands/ConfigCommand.d.ts.map +0 -1
  304. package/dist/types/cli/commands/ExportCommand.d.ts +0 -48
  305. package/dist/types/cli/commands/ExportCommand.d.ts.map +0 -1
  306. package/dist/types/cli/commands/HistoryCommand.d.ts +0 -47
  307. package/dist/types/cli/commands/HistoryCommand.d.ts.map +0 -1
  308. package/dist/types/cli/commands/StatusCommand.d.ts +0 -30
  309. package/dist/types/cli/commands/StatusCommand.d.ts.map +0 -1
  310. package/dist/types/cli/commands/ThemeCommand.d.ts +0 -30
  311. package/dist/types/cli/commands/ThemeCommand.d.ts.map +0 -1
  312. package/dist/types/cli/help.d.ts +0 -12
  313. package/dist/types/cli/help.d.ts.map +0 -1
  314. package/dist/types/cli/index.d.ts +0 -15
  315. package/dist/types/cli/index.d.ts.map +0 -1
  316. package/dist/types/constants.d.ts +0 -119
  317. package/dist/types/constants.d.ts.map +0 -1
  318. package/dist/types/core.js +0 -28
  319. package/dist/types/example.d.ts +0 -18
  320. package/dist/types/example.d.ts.map +0 -1
  321. package/dist/types/exports-module.d.ts +0 -196
  322. package/dist/types/exports-module.d.ts.map +0 -1
  323. package/dist/types/handlers/AnalyticsLogHandler.d.ts +0 -8
  324. package/dist/types/handlers/AnalyticsLogHandler.d.ts.map +0 -1
  325. package/dist/types/handlers/ExportLogHandler.d.ts +0 -100
  326. package/dist/types/handlers/ExportLogHandler.d.ts.map +0 -1
  327. package/dist/types/handlers/FileLogHandler.d.ts +0 -33
  328. package/dist/types/handlers/FileLogHandler.d.ts.map +0 -1
  329. package/dist/types/handlers/RemoteLogHandler.d.ts +0 -11
  330. package/dist/types/handlers/RemoteLogHandler.d.ts.map +0 -1
  331. package/dist/types/handlers/index.d.ts +0 -8
  332. package/dist/types/handlers/index.d.ts.map +0 -1
  333. package/dist/types/handlers.js +0 -4
  334. package/dist/types/index.js +0 -4
  335. package/dist/types/main.d.ts +0 -2
  336. package/dist/types/main.d.ts.map +0 -1
  337. package/dist/types/styling/LogStyleBuilder.d.ts +0 -146
  338. package/dist/types/styling/LogStyleBuilder.d.ts.map +0 -1
  339. package/dist/types/styling/SemanticStyles.d.ts +0 -178
  340. package/dist/types/styling/SemanticStyles.d.ts.map +0 -1
  341. package/dist/types/styling/SmartPresets.d.ts +0 -22
  342. package/dist/types/styling/SmartPresets.d.ts.map +0 -1
  343. package/dist/types/styling/StyleBuilder.d.ts +0 -140
  344. package/dist/types/styling/StyleBuilder.d.ts.map +0 -1
  345. package/dist/types/styling/banners.d.ts +0 -42
  346. package/dist/types/styling/banners.d.ts.map +0 -1
  347. package/dist/types/styling/index.d.ts +0 -10
  348. package/dist/types/styling/index.d.ts.map +0 -1
  349. package/dist/types/styling/themes.d.ts +0 -7
  350. package/dist/types/styling/themes.d.ts.map +0 -1
  351. package/dist/types/styling-module.d.ts +0 -178
  352. package/dist/types/styling-module.d.ts.map +0 -1
  353. package/dist/types/types/core.d.ts +0 -221
  354. package/dist/types/types/core.d.ts.map +0 -1
  355. package/dist/types/types/handlers.d.ts +0 -85
  356. package/dist/types/types/handlers.d.ts.map +0 -1
  357. package/dist/types/types/index.d.ts +0 -7
  358. package/dist/types/types/index.d.ts.map +0 -1
  359. package/dist/types/utils/environment.d.ts +0 -47
  360. package/dist/types/utils/environment.d.ts.map +0 -1
  361. package/dist/types/utils/formatting.d.ts +0 -37
  362. package/dist/types/utils/formatting.d.ts.map +0 -1
  363. package/dist/types/utils/index.d.ts +0 -7
  364. package/dist/types/utils/index.d.ts.map +0 -1
  365. package/dist/types/utils/opentui-detection.d.ts +0 -34
  366. package/dist/types/utils/opentui-detection.d.ts.map +0 -1
  367. package/dist/types/utils/output.d.ts +0 -41
  368. package/dist/types/utils/output.d.ts.map +0 -1
  369. package/dist/types/utils/stackTrace.d.ts +0 -6
  370. package/dist/types/utils/stackTrace.d.ts.map +0 -1
  371. package/dist/types/utils/timestamps.d.ts +0 -20
  372. package/dist/types/utils/timestamps.d.ts.map +0 -1
  373. package/dist/utils/environment.d.ts +0 -47
  374. package/dist/utils/environment.d.ts.map +0 -1
  375. package/dist/utils/environment.js +0 -85
  376. package/dist/utils/formatting.js +0 -117
  377. package/dist/utils/index.js +0 -6
  378. package/dist/utils/opentui-detection.d.ts +0 -34
  379. package/dist/utils/opentui-detection.d.ts.map +0 -1
  380. package/dist/utils/opentui-detection.js +0 -116
  381. package/dist/utils/output.js +0 -150
  382. package/dist/utils/stackTrace.js +0 -81
  383. package/dist/utils/timestamps.js +0 -71
  384. package/dist/vite.svg +0 -1
  385. package/docs/API.md +0 -691
  386. package/docs/CORE.md +0 -264
  387. package/docs/DEVELOPMENT.md +0 -731
  388. package/docs/EXPORTS.md +0 -467
  389. package/docs/PACKAGES.md +0 -244
  390. package/docs/STYLING.md +0 -405
  391. package/docs/_config.yml +0 -36
  392. package/docs/index.md +0 -179
  393. package/examples/README.md +0 -208
  394. package/examples/basic-logging.js +0 -75
  395. package/examples/data-export.js +0 -234
  396. package/examples/package.json +0 -16
  397. package/examples/performance-timing.js +0 -170
  398. package/examples/simplified-api.js +0 -124
  399. package/examples/styling-themes.js +0 -207
  400. package/index.html +0 -358
  401. package/packages/core/package.json +0 -57
  402. package/packages/exports/package.json +0 -41
  403. package/packages/nodejs-opentui/README.md +0 -232
  404. package/packages/nodejs-opentui/package.json +0 -72
  405. package/packages/nodejs-opentui/src/LogRenderer.ts +0 -171
  406. package/packages/nodejs-opentui/src/OpenTUILogHandler.ts +0 -178
  407. package/packages/nodejs-opentui/src/components/LogBadge.tsx +0 -131
  408. package/packages/nodejs-opentui/src/index.ts +0 -133
  409. package/packages/nodejs-opentui/src/types.ts +0 -158
  410. package/packages/nodejs-opentui/tsconfig.json +0 -20
  411. package/packages/styling/package.json +0 -41
  412. package/project-utils/README.md +0 -172
  413. package/project-utils/auto-release-gemini.ts +0 -1193
  414. package/project-utils/auto-release-ui.ts +0 -1329
  415. package/project-utils/commit-generator.ts +0 -1385
  416. package/project-utils/commit-ui.ts +0 -264
  417. package/project-utils/git-utils.ts +0 -199
  418. package/project-utils/github-release-manager.ts +0 -466
  419. package/project-utils/project-config.ts +0 -260
  420. package/project-utils/prompt-templates.js +0 -345
  421. package/project-utils/prompt-templates.ts +0 -422
  422. package/project-utils/version-manager.ts +0 -1078
  423. package/public/vite.svg +0 -1
  424. package/src/Logger.ts +0 -1276
  425. package/src/ScopedLogger.ts +0 -454
  426. package/src/cli/CommandProcessor.ts +0 -248
  427. package/src/cli/commands/ConfigCommand.ts +0 -93
  428. package/src/cli/commands/ExportCommand.ts +0 -276
  429. package/src/cli/commands/HistoryCommand.ts +0 -117
  430. package/src/cli/commands/StatusCommand.ts +0 -112
  431. package/src/cli/commands/ThemeCommand.ts +0 -88
  432. package/src/cli/help.ts +0 -127
  433. package/src/cli/index.ts +0 -71
  434. package/src/constants.ts +0 -171
  435. package/src/core.ts +0 -393
  436. package/src/example.ts +0 -210
  437. package/src/exports-module.ts +0 -311
  438. package/src/handlers/AnalyticsLogHandler.ts +0 -22
  439. package/src/handlers/ExportLogHandler.ts +0 -609
  440. package/src/handlers/FileLogHandler.ts +0 -169
  441. package/src/handlers/RemoteLogHandler.ts +0 -42
  442. package/src/handlers/index.ts +0 -8
  443. package/src/index.ts +0 -209
  444. package/src/main.ts +0 -196
  445. package/src/style.css +0 -96
  446. package/src/styling/LogStyleBuilder.ts +0 -355
  447. package/src/styling/SemanticStyles.ts +0 -380
  448. package/src/styling/SmartPresets.ts +0 -288
  449. package/src/styling/StyleBuilder.ts +0 -319
  450. package/src/styling/banners.ts +0 -168
  451. package/src/styling/index.ts +0 -27
  452. package/src/styling/themes.ts +0 -235
  453. package/src/styling-module.ts +0 -244
  454. package/src/types/core.ts +0 -236
  455. package/src/types/handlers.ts +0 -95
  456. package/src/types/index.ts +0 -35
  457. package/src/typescript.svg +0 -1
  458. package/src/utils/environment.ts +0 -94
  459. package/src/utils/formatting.ts +0 -142
  460. package/src/utils/index.ts +0 -21
  461. package/src/utils/opentui-detection.ts +0 -138
  462. package/src/utils/output.ts +0 -185
  463. package/src/utils/stackTrace.ts +0 -95
  464. package/src/utils/timestamps.ts +0 -80
  465. package/src/vite-env.d.ts +0 -1
  466. package/test-core-browser.html +0 -237
  467. package/test-core-node.js +0 -63
  468. package/tests/test-conflict-resolution.ts +0 -391
  469. package/tests/validate-workflows.sh +0 -131
  470. package/tests/yaml-autofix.sh +0 -146
  471. package/tsconfig.json +0 -50
  472. package/vite.config.ts +0 -223
@@ -1,280 +0,0 @@
1
- /**
2
- * @fileoverview StyleBuilder class for Advanced Logger
3
- */
4
- /**
5
- * Utility class for creating dynamic console styles with method chaining
6
- */
7
- export class StyleBuilder {
8
- styles = [];
9
- constructor(baseStyle = '') {
10
- if (baseStyle)
11
- this.styles.push(baseStyle);
12
- }
13
- /**
14
- * Add background color or gradient
15
- */
16
- bg(background) {
17
- this.styles.push(`background: ${background}`);
18
- return this;
19
- }
20
- /**
21
- * Add text color
22
- */
23
- color(color) {
24
- this.styles.push(`color: ${color}`);
25
- return this;
26
- }
27
- /**
28
- * Add border styling
29
- */
30
- border(border) {
31
- this.styles.push(`border: ${border}`);
32
- return this;
33
- }
34
- /**
35
- * Add box shadow
36
- */
37
- shadow(shadow) {
38
- this.styles.push(`box-shadow: ${shadow}`);
39
- return this;
40
- }
41
- /**
42
- * Add padding
43
- */
44
- padding(padding) {
45
- this.styles.push(`padding: ${padding}`);
46
- return this;
47
- }
48
- /**
49
- * Add margin
50
- */
51
- margin(margin) {
52
- this.styles.push(`margin: ${margin}`);
53
- return this;
54
- }
55
- /**
56
- * Add border radius
57
- */
58
- rounded(radius = '4px') {
59
- this.styles.push(`border-radius: ${radius}`);
60
- return this;
61
- }
62
- /**
63
- * Add font weight
64
- */
65
- bold() {
66
- this.styles.push('font-weight: bold');
67
- return this;
68
- }
69
- /**
70
- * Add font styling
71
- */
72
- font(font) {
73
- this.styles.push(`font-family: ${font}`);
74
- return this;
75
- }
76
- /**
77
- * Set monospace font family (alias for common monospace fonts)
78
- */
79
- mono() {
80
- return this.font('Monaco, Consolas, "Courier New", monospace');
81
- }
82
- /**
83
- * Set system font family (alias for system fonts)
84
- */
85
- system() {
86
- return this.font('system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif');
87
- }
88
- /**
89
- * Add font size
90
- */
91
- size(size) {
92
- this.styles.push(`font-size: ${size}`);
93
- return this;
94
- }
95
- /**
96
- * Add line height
97
- */
98
- lineHeight(height) {
99
- this.styles.push(`line-height: ${height}`);
100
- return this;
101
- }
102
- /**
103
- * Add text decoration
104
- */
105
- underline() {
106
- this.styles.push('text-decoration: underline');
107
- return this;
108
- }
109
- /**
110
- * Add text transform
111
- */
112
- uppercase() {
113
- this.styles.push('text-transform: uppercase');
114
- return this;
115
- }
116
- /**
117
- * Add opacity
118
- */
119
- opacity(value) {
120
- this.styles.push(`opacity: ${value}`);
121
- return this;
122
- }
123
- /**
124
- * Add display property
125
- */
126
- display(value) {
127
- this.styles.push(`display: ${value}`);
128
- return this;
129
- }
130
- /**
131
- * Add position property
132
- */
133
- position(value) {
134
- this.styles.push(`position: ${value}`);
135
- return this;
136
- }
137
- /**
138
- * Add transform property
139
- */
140
- transform(value) {
141
- this.styles.push(`transform: ${value}`);
142
- return this;
143
- }
144
- /**
145
- * Add animation property
146
- */
147
- animation(value) {
148
- this.styles.push(`animation: ${value}`);
149
- return this;
150
- }
151
- /**
152
- * Add transition property
153
- */
154
- transition(value) {
155
- this.styles.push(`transition: ${value}`);
156
- return this;
157
- }
158
- /**
159
- * Add cursor property
160
- */
161
- cursor(value) {
162
- this.styles.push(`cursor: ${value}`);
163
- return this;
164
- }
165
- /**
166
- * Add any custom CSS property
167
- */
168
- custom(property, value) {
169
- this.styles.push(`${property}: ${value}`);
170
- return this;
171
- }
172
- /**
173
- * Add any CSS property (alias for custom)
174
- */
175
- css(property, value) {
176
- return this.custom(property, value);
177
- }
178
- /**
179
- * Build the final CSS string
180
- */
181
- build() {
182
- return this.styles.join('; ');
183
- }
184
- /**
185
- * Clear all styles and start fresh
186
- */
187
- clear() {
188
- this.styles = [];
189
- return this;
190
- }
191
- /**
192
- * Clone this StyleBuilder with the same styles
193
- */
194
- clone() {
195
- const cloned = new StyleBuilder();
196
- cloned.styles = [...this.styles];
197
- return cloned;
198
- }
199
- /**
200
- * Merge another StyleBuilder's styles into this one
201
- */
202
- merge(other) {
203
- this.styles.push(...other.styles);
204
- return this;
205
- }
206
- }
207
- /**
208
- * Proxy-based dynamic styler for chainable console styling
209
- */
210
- function createStyler() {
211
- const builder = new StyleBuilder();
212
- return new Proxy(builder, {
213
- get(target, prop) {
214
- if (prop in target) {
215
- const method = target[prop];
216
- if (typeof method === 'function') {
217
- return method.bind(target);
218
- }
219
- return method;
220
- }
221
- return undefined;
222
- }
223
- });
224
- }
225
- /**
226
- * Dynamic styler instance for external use
227
- */
228
- export const $ = createStyler();
229
- /**
230
- * Pre-defined style presets for common use cases
231
- */
232
- export const StylePresets = {
233
- success: () => new StyleBuilder()
234
- .bg('linear-gradient(135deg, #00b894 0%, #00a085 100%)')
235
- .color('#ffffff')
236
- .padding('4px 8px')
237
- .rounded('4px')
238
- .bold(),
239
- error: () => new StyleBuilder()
240
- .bg('linear-gradient(135deg, #e84393 0%, #d63031 100%)')
241
- .color('#ffffff')
242
- .padding('4px 8px')
243
- .rounded('4px')
244
- .bold(),
245
- warning: () => new StyleBuilder()
246
- .bg('linear-gradient(135deg, #fdcb6e 0%, #e17055 100%)')
247
- .color('#2d3436')
248
- .padding('4px 8px')
249
- .rounded('4px')
250
- .bold(),
251
- info: () => new StyleBuilder()
252
- .bg('linear-gradient(135deg, #74b9ff 0%, #0984e3 100%)')
253
- .color('#ffffff')
254
- .padding('4px 8px')
255
- .rounded('4px')
256
- .bold(),
257
- debug: () => new StyleBuilder()
258
- .bg('linear-gradient(135deg, #667eea 0%, #764ba2 100%)')
259
- .color('#ffffff')
260
- .padding('4px 8px')
261
- .rounded('4px')
262
- .bold(),
263
- muted: () => new StyleBuilder()
264
- .color('#6c757d')
265
- .font('Monaco, Consolas, monospace')
266
- .size('12px'),
267
- accent: () => new StyleBuilder()
268
- .bg('#f8f9fa')
269
- .color('#495057')
270
- .padding('2px 6px')
271
- .rounded('3px')
272
- .border('1px solid #dee2e6'),
273
- neon: () => new StyleBuilder()
274
- .bg('linear-gradient(135deg, #0f3460 0%, #e94560 100%)')
275
- .color('#00ffff')
276
- .padding('4px 8px')
277
- .rounded('4px')
278
- .bold()
279
- .shadow('0 0 10px rgba(0, 255, 255, 0.5)'),
280
- };
@@ -1,155 +0,0 @@
1
- /**
2
- * @fileoverview Banner configurations for Advanced Logger
3
- */
4
- /**
5
- * Banner variants for different display capabilities
6
- */
7
- export const BANNER_VARIANTS = {
8
- simple: {
9
- text: '🚀 ADVANCED LOGGER v2.0.0 - State-of-the-art Console Styling 🚀',
10
- style: 'background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 12px 20px; border-radius: 8px; font-weight: bold; font-size: 14px;'
11
- },
12
- ascii: {
13
- text: `
14
- ___ ____ _ __ ___ _ __ _____ _____ ____ __ ___ _____ _____ _____ ____
15
- / _ \\ / __ \\| | / / / _ \\ | \\ | |/ ____| ____| _ \\ | | / _ \\ / ____| ___| _ | _ \\
16
- / /_\\ \\ / / _\` | |/ / / /_\\ \\ | \\| | | | |__ | | | | | | / / \\ \\| | __| |_ | |_| | |_) |
17
- | _ || | (_| | < | _ | | . \` | | | __| | | | | | | | | | | | |_ | _| | /| _ <
18
- | | | |\\ \\__,_|_|\\_\\ | | | | | |\\ | |___| |____| |_| | | |__\\ \\_/ /| |__| | |___| |\\ \\| |_) |
19
- \\_| |_/ \\____/ \\_| |_/ |_| \\_|\\_____|______|____/ |_____/\\___/ \\_____|_____|_| \\_|____/
20
-
21
- Advanced Logger v2.0.0 - Console Excellence`,
22
- style: 'font-family: "Courier New", Consolas, Monaco, monospace; color: #667eea; font-size: 11px; line-height: 1.2;'
23
- },
24
- unicode: {
25
- text: `
26
- ╔══════════════════════════════════════════════════════════════════════════╗
27
- ║ 🚀 ADVANCED LOGGER v2.0.0 ║
28
- ║ State-of-the-art Console Styling ║
29
- ╚══════════════════════════════════════════════════════════════════════════╝`,
30
- style: 'font-family: "Courier New", Consolas, Monaco, monospace; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 15px; border-radius: 8px; font-size: 12px; line-height: 1.3;'
31
- },
32
- svg: {
33
- text: ' ',
34
- style: `
35
- background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80'><defs><linearGradient id='grad' x1='0%' y1='0%' x2='100%' y2='0%'><stop offset='0%' style='stop-color:%23667eea'/><stop offset='100%' style='stop-color:%23764ba2'/></linearGradient></defs><rect width='100%' height='100%' fill='url(%23grad)' rx='8'/><text x='200' y='30' text-anchor='middle' fill='white' font-family='monospace' font-size='14' font-weight='bold'>🚀 ADVANCED LOGGER</text><text x='200' y='50' text-anchor='middle' fill='white' font-family='monospace' font-size='12'>State-of-the-art Console Styling</text><text x='200' y='65' text-anchor='middle' fill='white' font-family='monospace' font-size='10'>v2.0.0</text></svg>");
36
- background-repeat: no-repeat;
37
- background-size: 400px 80px;
38
- padding: 40px 200px;
39
- color: transparent;
40
- display: inline-block;
41
- border-radius: 8px;
42
- `
43
- },
44
- animated: {
45
- text: ' 🚀 ADVANCED LOGGER v2.0.0 ',
46
- style: `
47
- background: linear-gradient(-45deg, #667eea, #764ba2, #667eea, #764ba2);
48
- background-size: 400% 400%;
49
- color: white;
50
- padding: 15px 25px;
51
- border-radius: 10px;
52
- font-weight: bold;
53
- font-size: 14px;
54
- font-family: monospace;
55
- animation: gradientShift 3s ease infinite;
56
- display: inline-block;
57
- `
58
- }
59
- };
60
- /**
61
- * Theme-specific banners for enhanced visual theming
62
- */
63
- export const THEME_BANNERS = {
64
- default: {
65
- simple: '🚀 ADVANCED LOGGER v2.0.0 - State-of-the-art Console Styling 🚀',
66
- style: 'background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 12px 20px; border-radius: 8px; font-weight: bold;'
67
- },
68
- dark: {
69
- simple: '🌙 ADVANCED LOGGER v2.0.0 - Dark Mode Console Excellence 🌙',
70
- style: 'background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%); color: #e2e8f0; padding: 12px 20px; border-radius: 8px; font-weight: bold; border: 1px solid #4a5568;'
71
- },
72
- neon: {
73
- simple: '⚡ ADVANCED LOGGER v2.0.0 - Cyberpunk Console Experience ⚡',
74
- style: 'background: linear-gradient(135deg, #0f3460 0%, #e94560 100%); color: #00ffff; padding: 12px 20px; border-radius: 8px; font-weight: bold; text-shadow: 0 0 10px #00ffff;'
75
- },
76
- minimal: {
77
- simple: 'ADVANCED LOGGER v2.0.0 - Clean Console Styling',
78
- style: 'background: #f7fafc; color: #2d3748; padding: 8px 16px; border: 1px solid #e2e8f0; border-radius: 4px; font-weight: 500;'
79
- },
80
- light: {
81
- simple: 'â˜€ī¸ ADVANCED LOGGER v2.0.0 - Bright Console Styling â˜€ī¸',
82
- style: 'background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); color: #495057; padding: 12px 20px; border-radius: 8px; font-weight: bold; border: 1px solid #dee2e6;'
83
- },
84
- cyberpunk: {
85
- simple: '🤖 ADVANCED LOGGER v2.0.0 - Neural Console Interface 🤖',
86
- style: 'background: linear-gradient(135deg, #0d1b2a 0%, #415a77 100%); color: #00d4aa; padding: 12px 20px; border-radius: 8px; font-weight: bold; text-shadow: 0 0 10px #00d4aa; border: 1px solid #00d4aa;'
87
- }
88
- };
89
- /**
90
- * Feature detection for banner capabilities
91
- */
92
- export function detectBannerCapabilities() {
93
- // Try to detect browser capabilities
94
- const userAgent = navigator.userAgent;
95
- const isChrome = /Chrome/.test(userAgent);
96
- const isFirefox = /Firefox/.test(userAgent);
97
- const isSafari = /Safari/.test(userAgent) && !/Chrome/.test(userAgent);
98
- // Check for SVG support (most modern browsers)
99
- const supportsSVG = !!document.createElementNS &&
100
- !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect;
101
- // Check for CSS animation support
102
- const supportsAnimations = typeof document !== 'undefined' &&
103
- 'animationName' in document.createElement('div').style;
104
- // Progressive enhancement
105
- if (supportsAnimations && isChrome) {
106
- return 'animated';
107
- }
108
- else if (supportsSVG && (isChrome || isFirefox)) {
109
- return 'svg';
110
- }
111
- else if (isChrome || isFirefox) {
112
- return 'unicode';
113
- }
114
- else if (isSafari) {
115
- return 'ascii';
116
- }
117
- return 'simple';
118
- }
119
- /**
120
- * Display initialization banner with advanced styling
121
- */
122
- export function displayInitBanner(bannerType) {
123
- const selectedType = bannerType || detectBannerCapabilities();
124
- const banner = BANNER_VARIANTS[selectedType];
125
- // Add CSS animation keyframes if needed
126
- if (selectedType === 'animated') {
127
- const style = document.createElement('style');
128
- style.textContent = `
129
- @keyframes gradientShift {
130
- 0% { background-position: 0% 50%; }
131
- 50% { background-position: 100% 50%; }
132
- 100% { background-position: 0% 50%; }
133
- }
134
- `;
135
- document.head.appendChild(style);
136
- }
137
- console.log(`%c${banner.text}`, banner.style);
138
- // Show feature highlights
139
- const features = [
140
- '🎨 Advanced CSS Console Styling',
141
- '📍 Automatic Stack Trace Parsing',
142
- '🔧 Scoped Loggers & Prefixes',
143
- '⚡ Performance Timers',
144
- 'đŸŽ¯ Verbosity Filtering',
145
- '🔌 Extensible Handlers',
146
- '📱 Modern TypeScript Patterns',
147
- '📤 Export & Clipboard Support'
148
- ];
149
- console.group(`%c✨ Features`, 'background: #f8f9fa; color: #495057; padding: 4px 8px; border-radius: 4px; font-weight: bold;');
150
- features.forEach(feature => {
151
- console.log(`%c${feature}`, 'color: #6c757d; font-size: 13px;');
152
- });
153
- console.groupEnd();
154
- console.log(''); // Add spacing
155
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @fileoverview Styling system exports for Advanced Logger
3
- */
4
- export { StyleBuilder, $, StylePresets } from './StyleBuilder.js';
5
- export { THEME_PRESETS } from './themes.js';
6
- export { BANNER_VARIANTS, THEME_BANNERS, detectBannerCapabilities, displayInitBanner } from './banners.js';
7
- export { TimestampStyler, LevelStyler, PrefixStyler, MessageStyler, LocationStyler } from './SemanticStyles.js';
8
- export { LogStyleBuilder, createLogStyleBuilder } from './LogStyleBuilder.js';
9
- export { SMART_PRESETS, getSmartPreset, getAvailablePresets, hasPreset, PRESET_DESCRIPTIONS } from './SmartPresets.js';
@@ -1,231 +0,0 @@
1
- /**
2
- * @fileoverview Theme presets for Advanced Logger
3
- */
4
- /**
5
- * Theme configurations for different visual styles
6
- */
7
- export const THEME_PRESETS = {
8
- default: {
9
- debug: {
10
- emoji: '🐞', label: 'DEBUG',
11
- background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
12
- color: '#ffffff', border: '1px solid #667eea',
13
- shadow: '0 2px 4px rgba(102, 126, 234, 0.3)',
14
- },
15
- info: {
16
- emoji: 'â„šī¸', label: 'INFO',
17
- background: 'linear-gradient(135deg, #74b9ff 0%, #0984e3 100%)',
18
- color: '#ffffff', border: '1px solid #74b9ff',
19
- shadow: '0 2px 4px rgba(116, 185, 255, 0.3)',
20
- },
21
- warn: {
22
- emoji: 'âš ī¸', label: 'WARN',
23
- background: 'linear-gradient(135deg, #fdcb6e 0%, #e17055 100%)',
24
- color: '#2d3436', border: '1px solid #fdcb6e',
25
- shadow: '0 2px 4px rgba(253, 203, 110, 0.3)',
26
- },
27
- error: {
28
- emoji: '❌', label: 'ERROR',
29
- background: 'linear-gradient(135deg, #e84393 0%, #d63031 100%)',
30
- color: '#ffffff', border: '1px solid #e84393',
31
- shadow: '0 2px 4px rgba(232, 67, 147, 0.3)',
32
- },
33
- success: {
34
- emoji: '✅', label: 'SUCCESS',
35
- background: 'linear-gradient(135deg, #00b894 0%, #00a085 100%)',
36
- color: '#ffffff', border: '1px solid #00b894',
37
- shadow: '0 2px 4px rgba(0, 184, 148, 0.3)',
38
- },
39
- critical: {
40
- emoji: 'đŸ”Ĩ', label: 'CRITICAL',
41
- background: 'linear-gradient(135deg, #ff3838 0%, #ff1744 100%)',
42
- color: '#ffffff', border: '2px solid #ff3838',
43
- shadow: '0 4px 8px rgba(255, 56, 56, 0.5)',
44
- },
45
- },
46
- dark: {
47
- debug: {
48
- emoji: '🌙', label: 'DEBUG',
49
- background: 'linear-gradient(135deg, #2d3748 0%, #4a5568 100%)',
50
- color: '#e2e8f0', border: '1px solid #4a5568',
51
- shadow: '0 2px 4px rgba(45, 55, 72, 0.8)',
52
- },
53
- info: {
54
- emoji: '💡', label: 'INFO',
55
- background: 'linear-gradient(135deg, #1a202c 0%, #2d3748 100%)',
56
- color: '#90cdf4', border: '1px solid #3182ce',
57
- shadow: '0 2px 4px rgba(26, 32, 44, 0.8)',
58
- },
59
- warn: {
60
- emoji: '⚡', label: 'WARN',
61
- background: 'linear-gradient(135deg, #744210 0%, #975a16 100%)',
62
- color: '#faf089', border: '1px solid #d69e2e',
63
- shadow: '0 2px 4px rgba(116, 66, 16, 0.8)',
64
- },
65
- error: {
66
- emoji: '💀', label: 'ERROR',
67
- background: 'linear-gradient(135deg, #742a2a 0%, #9b2c2c 100%)',
68
- color: '#feb2b2', border: '1px solid #e53e3e',
69
- shadow: '0 2px 4px rgba(116, 42, 42, 0.8)',
70
- },
71
- success: {
72
- emoji: 'đŸŽ¯', label: 'SUCCESS',
73
- background: 'linear-gradient(135deg, #276749 0%, #2f855a 100%)',
74
- color: '#9ae6b4', border: '1px solid #38a169',
75
- shadow: '0 2px 4px rgba(39, 103, 73, 0.8)',
76
- },
77
- critical: {
78
- emoji: 'đŸ’Ĩ', label: 'CRITICAL',
79
- background: 'linear-gradient(135deg, #1a1a1a 0%, #ff0000 100%)',
80
- color: '#ffffff', border: '2px solid #ff0000',
81
- shadow: '0 4px 8px rgba(255, 0, 0, 0.9)',
82
- },
83
- },
84
- neon: {
85
- debug: {
86
- emoji: '⚡', label: 'DEBUG',
87
- background: 'linear-gradient(135deg, #0f3460 0%, #e94560 100%)',
88
- color: '#00ffff', border: '1px solid #00ffff',
89
- shadow: '0 0 10px rgba(0, 255, 255, 0.5)',
90
- },
91
- info: {
92
- emoji: '🔮', label: 'INFO',
93
- background: 'linear-gradient(135deg, #16213e 0%, #0f3460 100%)',
94
- color: '#00ff41', border: '1px solid #00ff41',
95
- shadow: '0 0 10px rgba(0, 255, 65, 0.5)',
96
- },
97
- warn: {
98
- emoji: 'âš ī¸', label: 'WARN',
99
- background: 'linear-gradient(135deg, #533a03 0%, #e94560 100%)',
100
- color: '#ffff00', border: '1px solid #ffff00',
101
- shadow: '0 0 10px rgba(255, 255, 0, 0.5)',
102
- },
103
- error: {
104
- emoji: 'đŸ’Ĩ', label: 'ERROR',
105
- background: 'linear-gradient(135deg, #5c0a0a 0%, #ff073a 100%)',
106
- color: '#ff073a', border: '1px solid #ff073a',
107
- shadow: '0 0 10px rgba(255, 7, 58, 0.8)',
108
- },
109
- success: {
110
- emoji: '✨', label: 'SUCCESS',
111
- background: 'linear-gradient(135deg, #0a5c0a 0%, #39ff14 100%)',
112
- color: '#39ff14', border: '1px solid #39ff14',
113
- shadow: '0 0 10px rgba(57, 255, 20, 0.8)',
114
- },
115
- critical: {
116
- emoji: '🌟', label: 'CRITICAL',
117
- background: 'linear-gradient(135deg, #000000 0%, #ff0080 100%)',
118
- color: '#ff0080', border: '2px solid #ff0080',
119
- shadow: '0 0 20px rgba(255, 0, 128, 1)',
120
- },
121
- },
122
- minimal: {
123
- debug: {
124
- emoji: '', label: 'DEBUG',
125
- background: '#f7fafc', color: '#4a5568',
126
- border: '1px solid #e2e8f0', shadow: 'none',
127
- },
128
- info: {
129
- emoji: '', label: 'INFO',
130
- background: '#ebf8ff', color: '#2b6cb0',
131
- border: '1px solid #bee3f8', shadow: 'none',
132
- },
133
- warn: {
134
- emoji: '', label: 'WARN',
135
- background: '#fffbf0', color: '#c05621',
136
- border: '1px solid #fed7aa', shadow: 'none',
137
- },
138
- error: {
139
- emoji: '', label: 'ERROR',
140
- background: '#fef5f5', color: '#c53030',
141
- border: '1px solid #fca5a5', shadow: 'none',
142
- },
143
- success: {
144
- emoji: '', label: 'SUCCESS',
145
- background: '#f0fff4', color: '#2f855a',
146
- border: '1px solid #9ae6b4', shadow: 'none',
147
- },
148
- critical: {
149
- emoji: '', label: 'CRITICAL',
150
- background: '#fef5f5', color: '#e53e3e',
151
- border: '2px solid #f56565', shadow: 'none',
152
- },
153
- },
154
- // Additional theme variants can be added here
155
- light: {
156
- debug: {
157
- emoji: '🔍', label: 'DEBUG',
158
- background: 'linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%)',
159
- color: '#1565c0', border: '1px solid #90caf9',
160
- shadow: '0 1px 3px rgba(33, 150, 243, 0.2)',
161
- },
162
- info: {
163
- emoji: 'â„šī¸', label: 'INFO',
164
- background: 'linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%)',
165
- color: '#7b1fa2', border: '1px solid #ce93d8',
166
- shadow: '0 1px 3px rgba(156, 39, 176, 0.2)',
167
- },
168
- warn: {
169
- emoji: 'âš ī¸', label: 'WARN',
170
- background: 'linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%)',
171
- color: '#f57c00', border: '1px solid #ffcc02',
172
- shadow: '0 1px 3px rgba(255, 152, 0, 0.2)',
173
- },
174
- error: {
175
- emoji: '❌', label: 'ERROR',
176
- background: 'linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%)',
177
- color: '#d32f2f', border: '1px solid #f44336',
178
- shadow: '0 1px 3px rgba(244, 67, 54, 0.2)',
179
- },
180
- success: {
181
- emoji: '✅', label: 'SUCCESS',
182
- background: 'linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%)',
183
- color: '#388e3c', border: '1px solid #4caf50',
184
- shadow: '0 1px 3px rgba(76, 175, 80, 0.2)',
185
- },
186
- critical: {
187
- emoji: '🚨', label: 'CRITICAL',
188
- background: 'linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%)',
189
- color: '#c2185b', border: '2px solid #e91e63',
190
- shadow: '0 2px 6px rgba(233, 30, 99, 0.3)',
191
- },
192
- },
193
- cyberpunk: {
194
- debug: {
195
- emoji: '🤖', label: 'DEBUG',
196
- background: 'linear-gradient(135deg, #0d1b2a 0%, #415a77 100%)',
197
- color: '#00d4aa', border: '1px solid #00d4aa',
198
- shadow: '0 0 15px rgba(0, 212, 170, 0.4)',
199
- },
200
- info: {
201
- emoji: '🔗', label: 'INFO',
202
- background: 'linear-gradient(135deg, #1b263b 0%, #0d1b2a 100%)',
203
- color: '#00b4d8', border: '1px solid #00b4d8',
204
- shadow: '0 0 15px rgba(0, 180, 216, 0.4)',
205
- },
206
- warn: {
207
- emoji: '⚡', label: 'WARN',
208
- background: 'linear-gradient(135deg, #f72585 0%, #b5179e 100%)',
209
- color: '#ffff3f', border: '1px solid #ffff3f',
210
- shadow: '0 0 15px rgba(255, 255, 63, 0.4)',
211
- },
212
- error: {
213
- emoji: '💀', label: 'ERROR',
214
- background: 'linear-gradient(135deg, #7209b7 0%, #480ca8 100%)',
215
- color: '#ff006e', border: '1px solid #ff006e',
216
- shadow: '0 0 15px rgba(255, 0, 110, 0.6)',
217
- },
218
- success: {
219
- emoji: '⚡', label: 'SUCCESS',
220
- background: 'linear-gradient(135deg, #003566 0%, #001d3d 100%)',
221
- color: '#00f5ff', border: '1px solid #00f5ff',
222
- shadow: '0 0 15px rgba(0, 245, 255, 0.4)',
223
- },
224
- critical: {
225
- emoji: 'đŸ’Ĩ', label: 'CRITICAL',
226
- background: 'linear-gradient(135deg, #000000 0%, #ff0040 100%)',
227
- color: '#ff0040', border: '2px solid #ff0040',
228
- shadow: '0 0 25px rgba(255, 0, 64, 0.8)',
229
- },
230
- },
231
- };