mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
* web: Flesh out Playwright. web: Flesh out slim tests. * web/e2e: Sessions * web: Update tests. * web: Fix missing git hash when using docker as backend. * Fix selectors. * web: Flesh out a11y in wizard elements. * web: Flesh out provider tests.
23 lines
402 B
JavaScript
23 lines
402 B
JavaScript
/**
|
|
* @file Pretty transport for Pino
|
|
*
|
|
* @import { PrettyOptions } from "pino-pretty"
|
|
*/
|
|
|
|
import PinoPretty from "pino-pretty";
|
|
|
|
/**
|
|
* @param {PrettyOptions} options
|
|
*/
|
|
function prettyTransporter(options) {
|
|
const pretty = PinoPretty({
|
|
...options,
|
|
ignore: "pid,hostname",
|
|
translateTime: "SYS:HH:MM:ss",
|
|
});
|
|
|
|
return pretty;
|
|
}
|
|
|
|
export default prettyTransporter;
|