Documentation ¶
Overview ¶
Package log Copyright (c) 2023 Erich Gatejen LICENSE
Logging facility. I have decided to use go.uber.org/zap. I have been a fan of structured logging for a long time and have been adding it to my projects since 2002.
Package log Copyright (c) 2023 Erich Gatejen LICENSE
Logging facility for ginfra app and consumers of this module. This file defines common naming for log data entries. The GinfraError Annotations should use these as well. This is because error annotations will likely become log entries.
Index ¶
Constants ¶
View Source
const LMCONFIG_LOGDIR = "log"
View Source
const LM_ACTUAL = "actual"
View Source
const LM_CAUSE = "cause"
View Source
const LM_CODE = "code"
View Source
const LM_COMMAND = "command"
View Source
const LM_CONFIG_NAME = "config.name"
View Source
const LM_CONFIG_PATH = "config.path"
View Source
const LM_DEPLOYMENT_NAME = "deployment.name"
View Source
const LM_ERROR = "error"
View Source
const LM_EXPECTED = "expected"
View Source
const LM_FILEPATH = "filepath"
View Source
const LM_HOSTNAME = "hostname"
View Source
const LM_IMAGE_PATH = "image.path"
View Source
const LM_MARKER = "marker"
View Source
const LM_NAME = "name"
View Source
const LM_NETWORK_ID = "network.id"
View Source
const LM_NETWORK_NAME = "network.name"
View Source
const LM_OUTPUT = "output"
View Source
const LM_PACKAGE = "package"
View Source
const LM_PID = "pid"
View Source
const LM_SCAN = "scan"
View Source
const LM_SERVICE_CLASS = "service.class"
View Source
const LM_SERVICE_IP = "ip"
View Source
const LM_SERVICE_NAME = "service.name"
View Source
const LM_SERVICE_PORT = "port"
View Source
const LM_STDERR = "stderr"
View Source
const LM_STDIN = "stdin"
View Source
const LM_STDOUT = "stdout"
View Source
const LM_TARGET = "target"
View Source
const LM_TEXT = "text"
View Source
const LM_TIME = "time"
View Source
const LM_TOKEN = "token"
View Source
const LM_TYPE = "type"
View Source
const LM_URL = "url"
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.