1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-04-10 16:03:16 +00:00

feat(request-client): added bleached verbose mode

This commit is contained in:
Yury Shkoda
2023-08-14 10:50:11 +03:00
parent 8cbd292f13
commit f18a523087
7 changed files with 93 additions and 11 deletions

View File

@@ -0,0 +1 @@
export type VerboseMode = boolean | 'bleached'

View File

@@ -1,5 +1,6 @@
import * as https from 'https'
import { ServerType } from '@sasjs/utils/types'
import { VerboseMode } from '../types'
/**
* Specifies the configuration for the SASjs instance - eg where and how to
@@ -48,7 +49,7 @@ export class SASjsConfig {
/**
* Set to `true` to enable verbose mode that will log a summary of every HTTP response.
*/
verbose?: boolean = true
verbose?: VerboseMode = true
/**
* The name of the compute context to use when calling the Viya services directly.
* Example value: 'SAS Job Execution compute context'

View File

@@ -7,7 +7,7 @@ export * from './JobDefinition'
export * from './JobResult'
export * from './Link'
export * from './SASjsConfig'
export * from './SASjsRequest'
export * from './RequestClient'
export * from './Session'
export * from './UploadFile'
export * from './PollOptions'