MVN

io.github.aresxue.boot : ares-boot-base-log

Maven & Gradle

May 12, 2023

日志模块,集成log4j2, 提供工具类可静态打印日志, 业务可import通用日志配置(中间件配置和业务基础配置)开箱即用, 另外还提供http接口出入参打印和rpc提供者和消费者的出入参打印(有开关可以热启动和热关闭,同时可在线修改日志级别), traceId在日志中进行输出以及普通文件日志之外的结构化日志( 供运维采集分析可视化),提供全链路信息(包括tid)跨线程跨线程池的能力 Log module, integrates log4j2, provides tool classes that can print logs statically, business can import common log configurations (middleware configuration and business basic configuration) out of the box, and also provides http interface input and output parameter printing and rpc providers and consumers. Input and output parameter printing (there is a switch for hot start and hot shutdown, and the log level can be modified online), traceId is output in the log and structured logs other than ordinary file logs (for operation and maintenance collection and analysis visualization). The ability to provide full link information (including tid) across threads across thread pools.

<dependency>
    <groupId>io.github.aresxue.boot</groupId>
    <artifactId>ares-boot-base-log</artifactId>
    <version>1.0.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.github.aresxue.boot : ares-boot-base-log to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0.0

All Versions

Choose a version of io.github.aresxue.boot : ares-boot-base-log to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0.x
ares-boot-base-log-1.0.0

How to add a dependency to Maven

Add the following io.github.aresxue.boot : ares-boot-base-log maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>io.github.aresxue.boot</groupId>
    <artifactId>ares-boot-base-log</artifactId>
    <version>1.0.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following io.github.aresxue.boot : ares-boot-base-log gradle dependency to your build.gradle file:

implementation 'io.github.aresxue.boot:ares-boot-base-log:1.0.0'

Gradle Kotlin DSL: Add the following io.github.aresxue.boot : ares-boot-base-log gradle kotlin dependency to your build.gradle.kts file:

implementation("io.github.aresxue.boot:ares-boot-base-log:1.0.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following io.github.aresxue.boot : ares-boot-base-log sbt scala dependency to your build.sbt file:

libraryDependencies += "io.github.aresxue.boot" % "ares-boot-base-log" % "1.0.0"