github.com/blend/go-sdk@v1.20220411.3/logger/doc.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  /*
     9  Package logger is our high throughput event bus.
    10  
    11  It has two main modes of output; text and json, and allows multiple listeners to be triggerd for a given logger event.
    12  
    13  The output is governed by the `LOG_FORMAT` environment variable. Text output is the default, which
    14  is great for reading locally, but is less than optimal for search and automated ingestion. In
    15  production systems, `LOG_FORMAT=json` is recommended.
    16  */
    17  package logger // import "github.com/blend/go-sdk/logger"