mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 16:40:51 +00:00
17 lines
442 B
TypeScript
17 lines
442 B
TypeScript
|
declare enum LogContexts {
|
||
|
application = "application",
|
||
|
hostname = "hostname",
|
||
|
logLevel = "logLevel",
|
||
|
namespace = "namespace",
|
||
|
package = "package"
|
||
|
}
|
||
|
interface LogContext {
|
||
|
[key: string]: any;
|
||
|
[LogContexts.application]?: string;
|
||
|
[LogContexts.hostname]?: string;
|
||
|
[LogContexts.logLevel]?: number;
|
||
|
[LogContexts.namespace]?: string;
|
||
|
[LogContexts.package]?: string;
|
||
|
}
|
||
|
export { LogContext, LogContexts };
|