---
title: "Discussion on \"抽象日志组件\" | Hashnode"
description: "Discussion on \"抽象日志组件\". 本篇是基于Liblog 的结构分析，同时我提倡在非netcore项目中使用此类库，正常情况下只需要在基础组件库中生成单个文件即可，同时一次安装，终身有效。\n\n日志核心功能以接口的方式进行定义，简单有效：\n interface ILog{\n    bool Log(LogLevel logLevel, Func<string> messageFunc, Exception exception = null,\n            params object[] formatParameters)..."
url: "https://hashnode.com/posts/5oq96lgh5pel5bx57ue5lu2/658e750a79bfbf5bd817bba2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [抽象日志组件](https://blog.robinjiang.com/5oq96lgh5pel5bx57ue5lu2?utm_source=hashnode&utm_medium=feed)

本篇是基于Liblog 的结构分析，同时我提倡在非netcore项目中使用此类库，正常情况下只需要在基础组件库中生成单个文件即可，同时一次安装，终身有效。 日志核心功能以接口的方式进行定义，简单有效： interface ILog{ bool Log(LogLevel logLevel, Func<string> messageFunc, Exception exception = null, params object\[\] formatParameters)...

May 10, 2017 · 1 min read · blog.robinjiang.com  
Read the article

## Written by

[robin Jiang](https://hashnode.com/@robinj)

@robinj · SHENZHEN,CN

  
[View profile](https://hashnode.com/@robinj)

Geek,Agile

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
