mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 08:03:04 +00:00
src/server/Logger.ts
This commit is contained in:
@@ -21,7 +21,7 @@ const loggerProvider = new LoggerProvider({
|
|||||||
resource,
|
resource,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (config.env() == GameEnv.Prod && config.otelEnabled()) {
|
if (config.env() === GameEnv.Prod && config.otelEnabled()) {
|
||||||
console.log("OTEL enabled");
|
console.log("OTEL enabled");
|
||||||
// Configure OpenTelemetry endpoint with basic auth (if provided)
|
// Configure OpenTelemetry endpoint with basic auth (if provided)
|
||||||
const headers = {};
|
const headers = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user