Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LAPTOP-7V78BBO2\ydf19 committed Jan 5, 2022
1 parent ffbbabc commit 70b2740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ if __name__ == '__main__':

## 4 钉钉日志
```python
from nb_log import LogManager
logger4 = LogManager('hi').get_logger_and_add_handlers(is_add_stream_handler=True,
log_filename='hi.log',ding_talk_token='your_dingding_token')
from nb_log import get_logger
logger4 = get_logger("hi",is_add_stream_handler=True,
log_filename="hi.log",ding_talk_token='your_dingding_token')
logger4.debug('这条日志会同时出现在控制台 文件 和钉钉群消息')
```

Expand Down

0 comments on commit 70b2740

Please sign in to comment.