class
Backtracer::Configuration
- Backtracer::Configuration
- Reference
- Object
Defined in:
amber/support/backtracer/configuration.crClass Method Summary
-
.ignored_line?(line : String) : Bool
Returns true for a frame of the exception machinery itself.
Instance Method Summary
-
#context_lines : Int32 | Nil
Number of lines of code context to return by default, or
nilfor none. -
#context_lines=(context_lines : Int32 | Nil)
Number of lines of code context to return by default, or
nilfor none. -
#line_filters
Array of procs used for filtering backtrace lines before parsing.
-
#list_of_app_directories : Array(String)
Path prefixes of the directories that are part of your app.
-
#list_of_app_directories=(list_of_app_directories : Array(String))
Path prefixes of the directories that are part of your app.
-
#modules_directory : String
Path prefix of the directory that holds shards,
lib/<shard-name>/.... -
#modules_directory=(modules_directory : String)
Path prefix of the directory that holds shards,
lib/<shard-name>/.... -
#src_path : String | Nil
Path considered as "root" of your project.
-
#src_path=(src_path : String | Nil)
Path considered as "root" of your project.
Class Method Detail
Returns true for a frame of the exception machinery itself.
Instance Method Detail
Number of lines of code context to return by default, or nil for none.
See Frame#context
Number of lines of code context to return by default, or nil for none.
See Frame#context
Array of procs used for filtering backtrace lines before parsing.
Each filter is expected to return a string, which is then passed
onto the next filter, or ignored althoghether if nil is returned.
Path prefixes of the directories that are part of your app. If you have an
engines directory at the root of your project, add "engines/".
See Frame#in_app?
Path prefixes of the directories that are part of your app. If you have an
engines directory at the root of your project, add "engines/".
See Frame#in_app?
Path prefix of the directory that holds shards, lib/<shard-name>/....
See Frame#shard_name
Path prefix of the directory that holds shards, lib/<shard-name>/....
See Frame#shard_name
Path considered as "root" of your project.
See Frame#under_src_path?
Path considered as "root" of your project.
See Frame#under_src_path?