Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
go-nexus-telemetry
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public
go-nexus-telemetry
Commits
422098e4
Commit
422098e4
authored
1 year ago
by
John Harris
Browse files
Options
Downloads
Patches
Plain Diff
docs: update docs since module rename
parent
f42e1a6d
No related branches found
Branches containing commit
Tags
v1.5.5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+10
-4
10 additions, 4 deletions
README.md
with
10 additions
and
4 deletions
README.md
+
10
−
4
View file @
422098e4
# slog
Go module for structured logging.
Go module for nexus telemetry.
Initially contains a logger, but expected to contain mechanisms for timing and metrics in future.
## Components
### logger
Configures a logger with a JSON formatter using a schema suitable for datadog log ingestion.
##
Example usage
##
Development
Initialise and use the logger
:
Run tests with
:
```
go
run src/main/main.go
go
test
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment