# mouzt/mzt-biz-log

支持Springboot，基于注解的可使用变量、可以自定义函数的通用操作日志组件

Repository: https://github.com/mouzt/mzt-biz-log
Canonical: https://ross.abutalabs.com/products/mzt-biz-log
Language: Java
License: Apache-2.0
License Family: permissive
Topics: springboot, spring-aop
Last push: 2026-01-23T05:20:16+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 63, release rhythm 8, longevity 100
- inputs: {"age_days": 2229, "days_push": 222, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2777, forks 559 (observed 2026-08-28T04:07:21.459577+00:00)

## What it is
A Spring Boot annotation-based operation/audit logging library that records who did what, when, to which entity. It supports SpEL variables, custom log functions, object diff logging, and pluggable storage backends via Spring AOP.

## Use cases
- record audit logs of business operations in a Spring Boot app
- log who changed what and when with annotations
- track field-level diffs between objects before and after updates
- capture operation logs without cluttering business code
- store operation logs to a database or custom log service

## When to choose
- you use Spring Boot and want declarative, annotation-driven operation logging
- you need audit trails with SpEL-templated messages and custom functions
- you want automatic object diff logging for entity changes

## When to avoid
- you need general-purpose application logging (use Logback/SLF4J instead)
- your stack is not Java/Spring
- you need distributed tracing or metrics rather than business audit logs

## Facets
- artifact type: library
- maturity: active
- function: logging, middleware, web-framework
- domain: developer-tools, backend, web-development
- platform: jvm
- tags: spring-boot, spring-aop, audit-log, operation-log, annotations, spel, java, automation, spring

## Member repositories
- mouzt/mzt-biz-log (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:21.459577+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:31.523466+00:00, confidence not recorded.
  - readme: https://github.com/mouzt/mzt-biz-log (fetched 2026-08-28T04:07:21.459577+00:00, sha c84569a94016)
- Data as of 2026-08-30T08:39:29.467469+00:00.
