Skip to content

Commit 23c7ef2

Browse files
committed
feat: v1.0.7
1 parent f42594f commit 23c7ef2

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "instrument-level"
3-
version = "1.0.6"
3+
version = "1.0.7"
44
readme = "README.md"
55
edition = "2024"
66
authors = ["root@ltpp.vip"]

README.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,15 @@ cargo add instrument-level
2828

2929
This crate provides five attribute macros for different tracing log levels:
3030

31-
### `#[instrument_trace]` - Trace Level Instrumentation
31+
- `#[instrument_trace]` - Trace Level Instrumentation - Use this macro to add trace-level logging instrumentation to functions. This is the most verbose log level and automatically excludes all function arguments from span fields using `skip_all`.
3232

33-
Use this macro to add trace-level logging instrumentation to functions. This is the most verbose log level and automatically excludes all function arguments from span fields using `skip_all`.
33+
- `#[instrument_debug]` - Debug Level Instrumentation - Use this macro to add debug-level logging instrumentation to functions. Ideal for development and debugging purposes.
3434

35-
### `#[instrument_debug]` - Debug Level Instrumentation
35+
- `#[instrument_info]` - Info Level Instrumentation - Use this macro to add info-level logging instrumentation to functions. Suitable for general informational messages.
3636

37-
Use this macro to add debug-level logging instrumentation to functions. Ideal for development and debugging purposes.
37+
- `#[instrument_warn]` - Warning Level Instrumentation - Use this macro to add warning-level logging instrumentation to functions. Use for potentially harmful situations.
3838

39-
### `#[instrument_info]` - Info Level Instrumentation
40-
41-
Use this macro to add info-level logging instrumentation to functions. Suitable for general informational messages.
42-
43-
### `#[instrument_warn]` - Warning Level Instrumentation
44-
45-
Use this macro to add warning-level logging instrumentation to functions. Use for potentially harmful situations.
46-
47-
### `#[instrument_error]` - Error Level Instrumentation
48-
49-
Use this macro to add error-level logging instrumentation to functions. Use for error conditions that don't necessarily stop program execution.
50-
51-
Each macro accepts optional tracing parameters such as `target`, `name`, `skip`, `fields`, etc., which can be used to customize the span behavior according to your needs.
39+
- `#[instrument_error]` - Error Level Instrumentation - Use this macro to add error-level logging instrumentation to functions. Use for error conditions that don't necessarily stop program execution. Each macro accepts optional tracing parameters such as `target`, `name`, `skip`, `fields`, etc., which can be used to customize the span behavior according to your needs.
5240

5341
## License
5442

0 commit comments

Comments
 (0)