File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ const std = @import("std");
2
2
const InstrumentationScope = @import ("../../scope.zig" ).InstrumentationScope ;
3
3
const Attributes = @import ("../../attributes.zig" ).Attributes ;
4
4
5
+ /// Logger is responsible for emitting logs as LogRecords.
6
+ /// see: https://opentelemetry.io/docs/specs/otel/logs/api/#logger
5
7
pub const Logger = struct {
6
8
allocator : std.mem.Allocator ,
7
9
scope : InstrumentationScope ,
@@ -24,6 +26,8 @@ pub const Logger = struct {
24
26
}
25
27
};
26
28
29
+ /// LoggerProvider is the entry point of the API. It provides access to Loggers
30
+ /// see: https://opentelemetry.io/docs/specs/otel/logs/api/#loggerprovider
27
31
pub const LoggerProvider = struct {
28
32
var gpa = std .heap .GeneralPurposeAllocator (.{}){};
29
33
allocator : std.mem.Allocator ,
You can’t perform that action at this time.
0 commit comments