[FEATURE] logger option WithIncCallerSkipCount #335
Closed
opened 2024-04-13 01:14:09 +03:00 by vtolstov
·
2 comments
No Branch/Tag Specified
No results found.
v3.11.22
v3.11.21
v3.11.20
v3.11.19
v3.11.18
v3.11.17
v3.11.16
v3.11.15
v3.11.14
v3.11.13
v3.11.12
v3.11.1
v3.11.0
v3.10.109
v3.10.108
v3.10.107
v3.10.106
v3.10.105
v3.10.104
v3.10.103
v3.10.102
v3.10.101
v3.10.100
v3.10.99
v3.10.98
v3.10.97
v3.10.96
v3.10.95
v3.10.94
v3.10.93
v3.10.92
v3.10.91
v3.10.90
v3.10.89
v3.10.88
v3.10.87
v3.10.86
v3.10.85
v3.10.84
v3.10.83
v3.10.82
v3.10.81
v3.10.80
v3.10.79
v3.10.78
v3.10.77
v3.10.76
v3.10.75
v3.10.74
v3.10.73
v3.10.72
v3.10.71
v3.10.69
v3.10.68
v3.10.67
v3.10.66
v3.10.65
v3.10.64
v3.10.63
v3.10.62
v3.10.61
v3.10.60
v3.10.59
v3.10.58
v4.0.20
v3.10.57
v3.10.56
v3.10.55
v3.10.54
v3.10.53
v4.0.19
v3.10.52
v3.10.51
v4.0.18
v3.10.50
v3.10.49
v3.10.48
v3.10.47
v3.10.46
v3.10.45
v3.10.44
v4.0.17
v3.10.43
v3.10.42
v3.10.41
v4.0.16
v3.10.40
v3.10.39
v3.10.38
v3.10.37
v4.0.15
v3.10.36
v3.10.35
v3.10.34
v3.10.33
v3.10.32
v3.10.31
v3.10.30
v3.10.29
v4.0.14
v4.0.13
v4.0.12
v4.0.11
v3.10.28
v4.0.10
v4.0.9
v3.10.27
v3.10.26
v4.0.8
v4.0.7
v4.0.6
v3.10.25
v3.10.24
v4.0.5
v3.10.23
v4.0.4
v3.10.22
v4.0.3
v3.10.21
v3.10.20
v4.0.2
v4.0.1
v4.0.0
v3.10.19
v3.10.18
v3.10.16
v3.10.15
v3.10.14
v3.10.13
v3.10.12
v3.10.11
v3.10.10
v3.10.9
v3.10.8
v3.10.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v3.0.0-delta
v3.0.0
v3.0.0-beta.3
v3.0.0-beta.2
v3.0.0-gamma
v3.0.0-beta
v3.0.0-alpha
v2.9.1
v2.9.0
v2.8.0
v2.7.0
v2.6.0
show
v2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.0
v1.18.0
v1.17.1
v1.17.0
v1.16.0
v1.15.1
v1.15.0
v1.14.0
v1.13.2
v1.13.1
v1.13.0
v1.12.0
v1.11.0
v1.10.0
v1.9.1
v1.9.0
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.0
v1.5.0
v1.4.0
v1.3.1
v1.3.0
v1.2.0
v1.1.0
v1.0.0
v0.27.1
v0.27.0
v0.26.1
v0.26.0
v0.25.0
v0.24.1
v0.24.0
v0.23.0
v0.22.1
v0.22.0
v0.21.0
v0.20.0
v0.17.0
v0.16.0
v0.15.1
v0.15.0
v0.14.1
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Labels
Clear labels
Kind/Breaking
Breaking change that won't be backward compatible
Kind/Bug
Something is not working
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: unistack-org/micro#335
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
есть опция WithCallerSkipCount которая проставляет число фреймов которые нужно скипнуть при записи колера.
Для метода клон, который клонирует логер добавляя опции бывает полезно увеличить число скипнутых фреймов. Чтобы не делать костыль в виде получения текущих опций и добавлять нужное число, предлагаю завести опцию WithIncCallerSkipCount которая внутри сделает
сделать пулл реквест нужно для мастер и для v3 веток.
#337 - v3
#338 - v4/master
done