-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0c0022
commit 8c373a0
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
module Datadog | ||
module CI | ||
module Contrib | ||
module Patcher | ||
def self.included: (untyped base) -> untyped | ||
|
||
module CommonMethods | ||
attr_accessor patch_error_result: untyped | ||
|
||
attr_accessor patch_successful: untyped | ||
|
||
def patch_name: () -> String? | ||
|
||
def name: () -> String | ||
|
||
def patched?: () -> bool | ||
|
||
def patch: () -> void | ||
|
||
def on_patch_error: (untyped e) -> untyped | ||
|
||
def default_tags: () -> untyped | ||
|
||
private | ||
|
||
def patch_only_once: () -> untyped | ||
|
||
@patch_only_once: Datadog::Core::Utils::OnlyOnce | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module Datadog | ||
module Core | ||
module Telemetry | ||
module Logger | ||
def self.report: (Exception exception, ?level: Symbol, ?description: String?) -> void | ||
|
||
def self.error: (String description) -> void | ||
|
||
private | ||
|
||
def self.instance: () -> Datadog::Core::Telemetry::Component? | ||
end | ||
end | ||
end | ||
end |