Class: OAuth2::SanitizedLogger

Inherits:
Object
  • Object
show all
Defined in:
sig/oauth2/sanitized_logger.rbs

Instance Method Summary collapse

Constructor Details

#initializeSanitizedLogger

Returns a new instance of SanitizedLogger.

Parameters:

  • logger (Object)


3
# File 'sig/oauth2/sanitized_logger.rbs', line 3

def initialize: (untyped logger) -> void

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing { ... } ⇒ Object

Parameters:

  • method_name (Symbol)
  • args (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


21
# File 'sig/oauth2/sanitized_logger.rbs', line 21

def method_missing: (Symbol method_name, *untyped args) { () -> untyped } -> untyped

Instance Method Details

#<<Object

Parameters:

  • message (String)

Returns:

  • (Object)


6
# File 'sig/oauth2/sanitized_logger.rbs', line 6

def <<: (String message) -> untyped

#add { ... } ⇒ Object

Parameters:

  • severity (Object)
  • message (Object)
  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


5
# File 'sig/oauth2/sanitized_logger.rbs', line 5

def add: (untyped severity, ?untyped message, ?untyped progname) { () -> untyped } -> untyped

#closevoid

This method returns an undefined value.



13
# File 'sig/oauth2/sanitized_logger.rbs', line 13

def close: () -> void

#debug { ... } ⇒ Object

Parameters:

  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


7
# File 'sig/oauth2/sanitized_logger.rbs', line 7

def debug: (?untyped progname) { () -> untyped } -> untyped

#error { ... } ⇒ Object

Parameters:

  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


10
# File 'sig/oauth2/sanitized_logger.rbs', line 10

def error: (?untyped progname) { () -> untyped } -> untyped

#fatal { ... } ⇒ Object

Parameters:

  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


11
# File 'sig/oauth2/sanitized_logger.rbs', line 11

def fatal: (?untyped progname) { () -> untyped } -> untyped

#formatterObject

Returns:

  • (Object)


14
# File 'sig/oauth2/sanitized_logger.rbs', line 14

def formatter: () -> untyped

#formatter=void

This method returns an undefined value.

Parameters:

  • formatter (Object)


15
# File 'sig/oauth2/sanitized_logger.rbs', line 15

def formatter=: (untyped formatter) -> void

#info { ... } ⇒ Object

Parameters:

  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


8
# File 'sig/oauth2/sanitized_logger.rbs', line 8

def info: (?untyped progname) { () -> untyped } -> untyped

#levelObject

Returns:

  • (Object)


16
# File 'sig/oauth2/sanitized_logger.rbs', line 16

def level: () -> untyped

#level=void

This method returns an undefined value.

Parameters:

  • level (Object)


17
# File 'sig/oauth2/sanitized_logger.rbs', line 17

def level=: (untyped level) -> void

#log { ... } ⇒ Object

Parameters:

  • level (Symbol)
  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


25
# File 'sig/oauth2/sanitized_logger.rbs', line 25

def log: (Symbol level, ?untyped progname) { () -> untyped } -> untyped

#prognameObject

Returns:

  • (Object)


18
# File 'sig/oauth2/sanitized_logger.rbs', line 18

def progname: () -> untyped

#progname=void

This method returns an undefined value.

Parameters:

  • progname (Object)


19
# File 'sig/oauth2/sanitized_logger.rbs', line 19

def progname=: (untyped progname) -> void

#respond_to_missing?Boolean

Parameters:

  • method_name (Symbol)
  • include_private (Boolean)

Returns:

  • (Boolean)


20
# File 'sig/oauth2/sanitized_logger.rbs', line 20

def respond_to_missing?: (Symbol method_name, ?bool include_private) -> bool

#sanitizeObject

Parameters:

  • message (Object)

Returns:

  • (Object)


26
# File 'sig/oauth2/sanitized_logger.rbs', line 26

def sanitize: (untyped message) -> untyped

#sanitize_authorization_headerString

Parameters:

  • message (String)

Returns:

  • (String)


28
# File 'sig/oauth2/sanitized_logger.rbs', line 28

def sanitize_authorization_header: (String message) -> String

#sanitize_form_and_query_pairsString

Parameters:

  • message (String)

Returns:

  • (String)


30
# File 'sig/oauth2/sanitized_logger.rbs', line 30

def sanitize_form_and_query_pairs: (String message) -> String

#sanitize_json_pairsString

Parameters:

  • message (String)

Returns:

  • (String)


29
# File 'sig/oauth2/sanitized_logger.rbs', line 29

def sanitize_json_pairs: (String message) -> String

#thing_filterOAuth2::ThingFilter

Returns:



27
# File 'sig/oauth2/sanitized_logger.rbs', line 27

def thing_filter: () -> OAuth2::ThingFilter

#unknown { ... } ⇒ Object

Parameters:

  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


12
# File 'sig/oauth2/sanitized_logger.rbs', line 12

def unknown: (?untyped progname) { () -> untyped } -> untyped

#warn { ... } ⇒ Object

Parameters:

  • progname (Object)

Yields:

Yield Returns:

  • (Object)

Returns:

  • (Object)


9
# File 'sig/oauth2/sanitized_logger.rbs', line 9

def warn: (?untyped progname) { () -> untyped } -> untyped