本文主要是介绍Spring-boot项目additional-spring-configuration-metadata.json源码,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
additional-spring-configuration-metadata.json源码
{"groups": [{"name": "logging","type": "org.springframework.boot.logging.LoggingApplicationListener"}
],"properties": [{"name": "banner.charset","type": "java.nio.charset.Charset","description": "Banner file encoding.","defaultValue": "UTF-8"},{"name": "banner.location","type": "org.springframework.core.io.Resource","description": "Banner text resource location.","defaultValue": "classpath:banner.txt"},{"name": "banner.image.location","type": "org.springframework.core.io.Resource","description": "Banner image file location (jpg/png can also be used).","defaultValue": "banner.gif"},{"name": "banner.image.width","type": "java.lang.Integer","description": "Banner image width (in chars)."},{"name": "banner.image.height","type": "java.lang.Integer","description": "Banner image height (in chars)."},{"name": "banner.image.margin","type": "java.lang.Integer","description": "Left hand image margin (in chars)."},{"name": "banner.image.invert","type": "java.lang.Boolean","description": "Invert images for dark console themes.","defaultValue": false},{"name": "debug","type": "java.lang.Boolean","description": "Enable debug logs.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener","defaultValue": false},{"name": "logging.config","type": "java.lang.String","description": "Location of the logging configuration file.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "logging.exception-conversion-word","type": "java.lang.String","description": "Conversion word used when logging exceptions.","defaultValue": "%wEx","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "logging.file","type": "java.lang.String","description": "Name of the log file. Names can be an exact location or relative to the current directory.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "logging.level","type": "java.util.Map<java.lang.String,java.lang.String>","description": "Log levels severity mapping. Use 'root' for the root logger.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "logging.pattern.console","type": "java.lang.String","description": "Appender pattern for output to the console. Only supported with the default logback setup.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener","defaultValue": "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"},{"name": "logging.pattern.file","type": "java.lang.String","description": "Appender pattern for output to the file. Only supported with the default logback setup.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener","defaultValue": "%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:-%5p} ${PID:- } --- [%t] %-40.40logger{39} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}"},{"name": "logging.pattern.level","type": "java.lang.String","description": "Appender pattern for log level (default %5p). Only supported with the default logback setup.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "logging.path","type": "java.lang.String","description": "Directory where log files are written.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "logging.register-shutdown-hook","type": "java.lang.Boolean","description": "Register a shutdown hook for the logging system when it is initialized.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener"},{"name": "spring.mandatory-file-encoding","sourceType": "org.springframework.boot.context.FileEncodingApplicationListener","type": "java.nio.charset.Charset","description": "Expected character encoding the application must use."},{"name": "spring.application.name","type": "java.lang.String","sourceType": "org.springframework.boot.context.ContextIdApplicationContextInitializer","description": "Application name."},{"name": "spring.application.index","type": "java.lang.Integer","sourceType": "org.springframework.boot.context.ContextIdApplicationContextInitializer","description": "Application index."},{"name": "spring.beaninfo.ignore","type": "java.lang.Boolean","sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener","description": "Skip search of BeanInfo classes.","defaultValue": true},{"name": "spring.config.name","type": "java.lang.String","sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener","description": "Config file name.","defaultValue": "application"},{"name": "spring.config.location","type": "java.lang.String","sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener","description": "Config file locations."},{"name": "spring.main.banner-mode","type": "org.springframework.boot.Banner$Mode","sourceType": "org.springframework.boot.SpringApplication","description": "Mode used to display the banner when the application runs.","defaultValue": "console"},{"name": "spring.main.show-banner","type": "java.lang.Boolean","sourceType": "org.springframework.boot.SpringApplication","description": "Display the banner when the application runs.","defaultValue": true,"deprecation": {"replacement": "spring.main.banner-mode"}},{"name": "spring.main.sources","type": "java.util.Set<java.lang.Object>","sourceType": "org.springframework.boot.SpringApplication","description": "Sources (class name, package name or XML resource location) to include in the ApplicationContext."},{"name": "spring.main.web-environment","type": "java.lang.Boolean","sourceType": "org.springframework.boot.SpringApplication","description": "Run the application in a web environment (auto-detected by default)."},{"name": "spring.output.ansi.enabled","type": "org.springframework.boot.ansi.AnsiOutput$Enabled","description": "Configure the ANSI output (can be \"detect\", \"always\", \"never\").","defaultValue": "detect"},{"name": "spring.profiles.active","type": "java.lang.String","sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener","description": "Comma-separated list of active profiles. Can be overridden by a command line switch."},{"name": "spring.profiles.include","type": "java.lang.String","sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener","description": "Unconditionally activate the specified comma separated profiles."},{"name": "trace","type": "java.lang.Boolean","description": "Enable trace logs.","sourceType": "org.springframework.boot.logging.LoggingApplicationListener","defaultValue": false}
],"hints": [{"name": "logging.level.keys","values": [{"value": "root","description": "Root logger used to assign the default logging level."}],"providers": [{"name": "logger-name"}]},{"name": "logging.level.values","values": [{"value": "trace"},{"value": "debug"},{"value": "info"},{"value": "warn"},{"value": "error"},{"value": "fatal"},{"value": "off"}],"providers": [{"name": "any"}]},{"name": "spring.profiles.active","providers": [{"name": "spring-profile-name"}]},{"name": "spring.profiles.include","providers": [{"name": "spring-profile-name"}]}
]}
这篇关于Spring-boot项目additional-spring-configuration-metadata.json源码的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!