/seelog-examples

Examples of Seelog usage

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Seelog-examples

This package contains examples of Seelog usage.

Examples

Current list of examples:

  • starter.go - runs all examples
  • exceptions_main.go - demonstrates constraints and exceptions
  • outputs_main.go - demonstrates dispatchers and writers
  • formats_main.go - demonstrates formats
  • types_main.go - demonstrates logger types
  • stresstest_main.go - demonstrates logger replacement on-the-fly stress test
  • lib_with_sl_main.go - demonstrates Seelog usage with code that imports Seelog
  • lib_without_sl_main.go - demonstrates Seelog usage with code that doesn't import Seelog
  • library/lib_log.go - demonstrates library template with Seelog
  • adaptive_main.go - demonstrates adaptive logger type