Module Values.LoggerSource

Information about a logger

Sourcetype nonrec t = {
  1. component : LoggerComponent.t;
    (*

    The component that will be subject to logging.

    *)
  2. id : string;
    (*

    A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

    *)
  3. level : LoggerLevel.t;
    (*

    The level of the logs.

    *)
  4. space : int option;
    (*

    The amount of file space, in KB, to use if the local file system is used for logging purposes.

    *)
  5. type_ : LoggerType.t;
    (*

    The type of log output which will be used.

    *)
}
Sourceval context_ : string
Sourceval make : ?space:??? -> component:LoggerComponent.t -> id:string -> level:LoggerLevel.t -> type_:LoggerType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of int | `String of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t