Coder Social home page Coder Social logo

tinylogdotnet's Introduction

TinyLogDotNet

tinyLog in c#

中文见

参见

use case:

component in any program  
easy to integrate  
some test scene  
it can be used as a inpendent dll ,or integrated into your program  

design details:

1. log format is very easy, all data is saved in one file  
2. log file will be split , when data is more than 10M , old data will be copy to .old file  
3. you can write log in high frequency , data will be cached in memory , when data is bigger enouph or internal time up , will save to file  
4. if data very huge , part data will be ignored  
5. log file path and name ,support dynamic config   
6. inner error will be logged in your log  with key [innerFatal]
7. you can stop or start log with IsOn  
8. when innerErrors keep , log will stop auto 
9. log will be archive,log will be compressed in Gzip , default archive length is 100M

how to use

var log = new TinyLog.TinyLog("tiny.log");
log.Debug("debug");
log.Info("info");
log.Warn("warn");
log.Error("error");
log.Fatal("fatal");
// your can find log in TinyLogs/tiny.log

tinylogdotnet's People

Contributors

apporoad avatar holyond avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

zonelim

tinylogdotnet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.