A log provider that sends logs to LogStash. More...
Instance Methods | |
| (NSString *) | - address |
| Gets the LogStash server address. More... | |
| (void) | - doLogWithLogEvent: |
| Logs a message at the specified log level. More... | |
| (instancetype) | - initWithAddress:port:useSSL: |
| Creates a new instance of a LogStash log provider using defaultLogLevel (FMLiveSwitchLog) as log level. More... | |
| (instancetype) | - initWithAddress:port:useSSL:level: |
| Creates a new instance of a LogStash log provider. More... | |
| (int) | - port |
| Gets the LogStash server port. More... | |
Instance Methods inherited from FMLiveSwitchLogProvider | |
| (FMLiveSwitchFunction1< FMLiveSwitchLogEvent *, id > *) | - filter |
| Gets a filter on the log provider. More... | |
| (NSString *) | - generateLogLineWithLogEvent: |
| Generates a default log line. More... | |
| (NSString *) | - getPrefixWithLevel:includeTimestamp: |
| Converts a log-level to a 5-character string for consistently-spaced character sequences. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchLogProvider class using defaultLogLevel (FMLiveSwitchLog) as the log level. More... | |
| (FMLiveSwitchLogLevel) | - level |
| Gets the log level. More... | |
| (void) | - logWithLogEvent: |
| Log a message. More... | |
| (int) | - processId |
| Gets the current process id. More... | |
| (void) | - setFilter: |
| Sets a filter on the log provider. More... | |
| (FMLiveSwitchLogEvent *) | - setFilterBlock |
| Sets a filter on the log provider. More... | |
| (void) | - setFilterBlock: |
| Sets a filter on the log provider. More... | |
| (void) | - setLevel: |
| Sets the log level. More... | |
Class Methods | |
| (FMLiveSwitchLogStashLogProvider *) | + logStashLogProviderWithAddress:port:useSSL: |
| Creates a new instance of a LogStash log provider using defaultLogLevel (FMLiveSwitchLog) as log level. More... | |
| (FMLiveSwitchLogStashLogProvider *) | + logStashLogProviderWithAddress:port:useSSL:level: |
| Creates a new instance of a LogStash log provider. More... | |
Class Methods inherited from FMLiveSwitchLogProvider | |
| (NSString *) | + getLogLevelStringWithLevel: |
| Converts a log-level to a 5-character string for consistently-spaced character sequences. More... | |
| (NSString *) | + getPrefixTimestamp: |
| Converts a timestamp to an ISO-8601-formatted string for rendering in a log message (YYYY-MM-DDThh:mm:ss.sssZ). More... | |
| (NSString *) | + getProduct |
| Returns the name of the current product. More... | |
| (FMLiveSwitchLogProvider *) | + logProvider |
| Initializes a new instance of the FMLiveSwitchLogProvider class using defaultLogLevel (FMLiveSwitchLog) as the log level. More... | |
A log provider that sends logs to LogStash.
| - (NSString*) address |
Gets the LogStash server address.
| - (void) doLogWithLogEvent: | (FMLiveSwitchLogEvent *) | logEvent |
Logs a message at the specified log level.
| logEvent | The log event details. |
Implements FMLiveSwitchLogProvider.
| - (instancetype) initWithAddress: | (NSString *) | address | |
| port: | (int) | port | |
| useSSL: | (bool) | useSSL | |
Creates a new instance of a LogStash log provider using defaultLogLevel (FMLiveSwitchLog) as log level.
| address | The LogStash server address. |
| port | The LogStash server port. |
| useSSL | Whether to use SSL/TLS when connecting to the LogStash server. |
| - (instancetype) initWithAddress: | (NSString *) | address | |
| port: | (int) | port | |
| useSSL: | (bool) | useSSL | |
| level: | (FMLiveSwitchLogLevel) | level | |
Creates a new instance of a LogStash log provider.
| address | The address of LogStash. |
| port | The port of LogStash. |
| useSSL | Whether to use SSL/TLS when connecting to the LogStash server. |
| level | The initial log level. |
| + (FMLiveSwitchLogStashLogProvider*) logStashLogProviderWithAddress: | (NSString *) | address | |
| port: | (int) | port | |
| useSSL: | (bool) | useSSL | |
Creates a new instance of a LogStash log provider using defaultLogLevel (FMLiveSwitchLog) as log level.
| address | The LogStash server address. |
| port | The LogStash server port. |
| useSSL | Whether to use SSL/TLS when connecting to the LogStash server. |
| + (FMLiveSwitchLogStashLogProvider*) logStashLogProviderWithAddress: | (NSString *) | address | |
| port: | (int) | port | |
| useSSL: | (bool) | useSSL | |
| level: | (FMLiveSwitchLogLevel) | level | |
Creates a new instance of a LogStash log provider.
| address | The address of LogStash. |
| port | The port of LogStash. |
| useSSL | Whether to use SSL/TLS when connecting to the LogStash server. |
| level | The initial log level. |
| - (int) port |
Gets the LogStash server port.