Giter Club home page Giter Club logo

log's Introduction

Go Reference

log

See the thorough Go package documentation via the badge.

log's People

Contributors

anacrolix avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

3commascapital

log's Issues

panic: Logger uninitialized. names=[]

@anacrolix after switching to v0.13.1 of anacrolix/log I have panic with dms from ssdp, here is log:

panic: Logger uninitialized. names=["ssdp" "192.168.8.6:1900"]

goroutine 116 [running]:
github.com/anacrolix/log.loggerCore.handle({0x0, {0x400003d220, 0x2, 0x2}, {0x0, 0x0, 0x0}, {0x0}, {0x0}, {0x0, ...}, ...}, ...)
        /Users/nikk/go/pkg/mod/github.com/anacrolix/[email protected]/logger-core.go:82 +0x1a4
github.com/anacrolix/log.loggerCore.lazyLog({0x0, {0x400003d220, 0x2, 0x2}, {0x0, 0x0, 0x0}, {0x0}, {0x0}, {0x0, ...}, ...}, ...)
        /Users/nikk/go/pkg/mod/github.com/anacrolix/[email protected]/logger-core.go:72 +0x1a4
github.com/anacrolix/log.loggerCore.LazyLogDefaultLevel(...)
        /Users/nikk/go/pkg/mod/github.com/anacrolix/[email protected]/logger-core.go:59
github.com/anacrolix/log.Logger.Println({{0x0, {0x400003d220, 0x2, 0x2}, {0x0, 0x0, 0x0}, {0x0}, {0x0}, {0x0, ...}, ...}}, ...)
        /Users/nikk/go/pkg/mod/github.com/anacrolix/[email protected]/logger.go:69 +0x10c
github.com/anacrolix/dms/ssdp.(*Server).handle(0x400040a280, {0x4000abc000, 0x0, 0x5dc}, 0x4000ab40f0?)
        /Users/nikk/go/pkg/mod/github.com/tsynik/[email protected]/ssdp/ssdp.go:261 +0x390
created by github.com/anacrolix/dms/ssdp.(*Server).serve
        /Users/nikk/go/pkg/mod/github.com/tsynik/[email protected]/ssdp/ssdp.go:129 +0x1e8

added withNames() to ssdp.go - tsynik/dms@05367d4 but this doesn't help. How to fix?

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.