StoreJsonLogger
Namespace: MBrace.Runtime.Components
Static members
Static member | Description |
CreateJsonLogPoller(...)
Signature: (store:ICloudFileStore * getLogFiles:(unit -> Async<string []>) * pollingInterval:int option * discardInitial:bool option) -> StoreJsonLogPoller<'LogEntry>
Type parameters: 'LogEntry |
Creates an observable instance which polls the underlying store for new log entries. |
CreateJsonLogWriter(...)
Signature: (store:ICloudFileStore * nextLogFilePath:(unit -> string) * minInterval:int option * maxInterval:int option * minEntries:int option * sysLogger:ISystemLogger option) -> StoreJsonLogWriter<'LogEntry>
Type parameters: 'LogEntry |
Creates a logger implementation which asynchronously persists entries to underlying store using JSON. Log files are persisted in batches which are created periodically depending on traffic. |
ReadJsonLogEntries(store, logFiles)
Signature: (store:ICloudFileStore * logFiles:string []) -> Async<seq<'LogEntry>>
Type parameters: 'LogEntry |
Fetches all log entries found in store. |