Tencent / Tencent/BqLog

有2点需求,想问问是否后续能够实现。

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
578
Forks
48
PR merge metrics
No merged PRs in 30d

Description

1.能否增加默认tag和临时tag,在移动端使用的话更加灵活,主要是替代默认tag的bq。
2.能否修改日志体的内容格式,类似于{d} {l}/{t}: {m} ,用户可以自行格式化日志。

{d} {l}/{t}: {m} | 2016-11-30 13:00:00.000 D/my_tag: 简单消息
{d yyyy-MM-dd HH:mm:ss.SSS} {l}/{t}: {m} | 2016-11-30 13:00:00.000 D/my_tag: 简单消息
{d yyyy/MM/dd HH:mm:ss} {l}|{t}: {m} | 2016/11/30 13:00:00 D|my_tag: 简单消息
{d yy/MM/dd HH:mm:ss} {l}|{t}: {m} | 16/11/30 13:00:00 D|my_tag: 简单消息
{d MM/dd HH:mm} {l}-{t}-{m} | 11/30 13:00 D-my_tag-简单消息

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the tag handling and log-formatting APIs, then clarify the intended behavior and scope for default and temporary tags and user-defined date, level, tag, and message formats. Done means both requests have agreed interfaces and coverage for the shown formatting examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.