Documentation / @blazetrails/actionpack / ActionController / LogSubscriber
Class: LogSubscriber
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:16
Extends
Constructors
Constructor
new LogSubscriber():
LogSubscriber
Defined in: packages/activesupport/dist/log-subscriber.d.ts:37
Returns
LogSubscriber
Inherited from
Properties
eventLevels
eventLevels:
Map<string, (logger) =>boolean>
Defined in: packages/activesupport/dist/log-subscriber.d.ts:36
Inherited from
patterns
patterns:
Map<string,Evented<Delegate>>
Defined in: packages/activesupport/dist/subscriber.d.ts:5
Inherited from
BLACK
readonlystaticBLACK: "\u001b[30m" = "\u001B[30m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:7
Inherited from
BLUE
readonlystaticBLUE: "\u001b[34m" = "\u001B[34m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:11
Inherited from
colorizeLogging
staticcolorizeLogging:boolean
Defined in: packages/activesupport/dist/log-subscriber.d.ts:15
Inherited from
CYAN
readonlystaticCYAN: "\u001b[36m" = "\u001B[36m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:13
Inherited from
GREEN
readonlystaticGREEN: "\u001b[32m" = "\u001B[32m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:9
Inherited from
LEVEL_CHECKS
readonlystaticLEVEL_CHECKS:Record<string, (logger) =>boolean>
Defined in: packages/activesupport/dist/log-subscriber.d.ts:19
Inherited from
MAGENTA
readonlystaticMAGENTA: "\u001b[35m" = "\u001B[35m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:12
Inherited from
MODES
readonlystaticMODES:Record<string,number>
Defined in: packages/activesupport/dist/log-subscriber.d.ts:6
Inherited from
RED
readonlystaticRED: "\u001b[31m" = "\u001B[31m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:8
Inherited from
WHITE
readonlystaticWHITE: "\u001b[37m" = "\u001B[37m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:14
Inherited from
YELLOW
readonlystaticYELLOW: "\u001b[33m" = "\u001B[33m"
Defined in: packages/activesupport/dist/log-subscriber.d.ts:10
Inherited from
Accessors
colorizeLogging
Get Signature
get colorizeLogging():
boolean
Defined in: packages/activesupport/dist/log-subscriber.d.ts:39
Returns
boolean
Set Signature
set colorizeLogging(
value):void
Defined in: packages/activesupport/dist/log-subscriber.d.ts:40
Parameters
| Parameter | Type |
|---|---|
value | boolean |
Returns
void
Inherited from
logger
Get Signature
get
staticlogger():Logger|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:21
Returns
Logger | null
Set Signature
set
staticlogger(value):void
Defined in: packages/activesupport/dist/log-subscriber.d.ts:22
Parameters
| Parameter | Type |
|---|---|
value | Logger | null |
Returns
void
Inherited from
logLevels
Get Signature
get
staticlogLevels():Map<string, (logger) =>boolean>
Defined in: packages/activesupport/dist/log-subscriber.d.ts:16
Returns
Map<string, (logger) => boolean>
Set Signature
set
staticlogLevels(value):void
Defined in: packages/activesupport/dist/log-subscriber.d.ts:17
Parameters
| Parameter | Type |
|---|---|
value | Map<string, (logger) => boolean> |
Returns
void
Inherited from
subscribers
Get Signature
get
staticsubscribers():Subscriber[]
Defined in: packages/activesupport/dist/subscriber.d.ts:16
Returns
Inherited from
Methods
call()
call(
event):void
Defined in: packages/activesupport/dist/log-subscriber.d.ts:43
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
Inherited from
color()
protectedcolor(text,color,modeOptions?):string
Defined in: packages/activesupport/dist/log-subscriber.d.ts:51
Parameters
| Parameter | Type |
|---|---|
text | string |
color | string | symbol |
modeOptions? | Record<string, boolean> |
Returns
string
Inherited from
debug()
protecteddebug(progname?,block?):boolean|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:46
Parameters
| Parameter | Type |
|---|---|
progname? | string | null |
block? | () => string |
Returns
boolean | null
Inherited from
error()
protectederror(progname?,block?):boolean|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:48
Parameters
| Parameter | Type |
|---|---|
progname? | string | null |
block? | () => string |
Returns
boolean | null
Inherited from
expireFragment()
expireFragment(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:129
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
fatal()
protectedfatal(progname?,block?):boolean|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:49
Parameters
| Parameter | Type |
|---|---|
progname? | string | null |
block? | () => string |
Returns
boolean | null
Inherited from
haltedCallback()
haltedCallback(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:69
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
info()
protectedinfo(progname?,block?):boolean|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:45
Parameters
| Parameter | Type |
|---|---|
progname? | string | null |
block? | () => string |
Returns
boolean | null
Inherited from
isExistFragment()
isExistFragment(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:122
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
isSilenced()
isSilenced(
event):boolean
Defined in: packages/activesupport/dist/log-subscriber.d.ts:42
Parameters
| Parameter | Type |
|---|---|
event | string | NotificationEvent |
Returns
boolean
Missing Rails Call
call — PERMANENT
Inherited from
processAction()
processAction(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:43
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
publishEvent()
publishEvent(
event):void
Defined in: packages/activesupport/dist/log-subscriber.d.ts:44
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
Inherited from
readFragment()
readFragment(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:115
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
redirectTo()
redirectTo(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:83
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
sendData()
sendData(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:87
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
sendFile()
sendFile(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:76
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
startProcessing()
startProcessing(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:22
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
unknown()
protectedunknown(progname?,block?):boolean|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:50
Parameters
| Parameter | Type |
|---|---|
progname? | string | null |
block? | () => string |
Returns
boolean | null
Inherited from
unpermittedParameters()
unpermittedParameters(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:94
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
warn()
protectedwarn(progname?,block?):boolean|null
Defined in: packages/activesupport/dist/log-subscriber.d.ts:47
Parameters
| Parameter | Type |
|---|---|
progname? | string | null |
block? | () => string |
Returns
boolean | null
Inherited from
writeFragment()
writeFragment(
event):void
Defined in: packages/actionpack/lib/action-controller/log-subscriber.ts:108
Parameters
| Parameter | Type |
|---|---|
event | NotificationEvent |
Returns
void
attachTo()
staticattachTo(namespace,subscriber?,notifier?,options?):string[]
Defined in: packages/activesupport/dist/log-subscriber.d.ts:25
Parameters
| Parameter | Type |
|---|---|
namespace | string |
subscriber? | Subscriber |
notifier? | typeof Notifications |
options? | { inheritAll?: boolean; } |
options.inheritAll? | boolean |
Returns
string[]
Inherited from
detachFrom()
staticdetachFrom(namespace,notifier?):void
Defined in: packages/activesupport/dist/subscriber.d.ts:14
Parameters
| Parameter | Type |
|---|---|
namespace | string |
notifier? | typeof Notifications |
Returns
void
Inherited from
fetchPublicMethods()
protectedstaticfetchPublicMethods(subscriber,inheritAll):string[]
Defined in: packages/activesupport/dist/log-subscriber.d.ts:34
Parameters
| Parameter | Type |
|---|---|
subscriber | Subscriber |
inheritAll | boolean |
Returns
string[]
Missing Rails Args
public_instance_methods — PERMANENT
Inherited from
LogSubscriber.fetchPublicMethods
flushAllBang()
staticflushAllBang():void
Defined in: packages/activesupport/dist/log-subscriber.d.ts:24
Returns
void
Inherited from
logSubscribers()
staticlogSubscribers():Subscriber[]
Defined in: packages/activesupport/dist/log-subscriber.d.ts:23
Returns
Inherited from
methodAdded()
staticmethodAdded(event):void
Defined in: packages/activesupport/dist/subscriber.d.ts:15
Parameters
| Parameter | Type |
|---|---|
event | string |
Returns
void